:root {
    --primary: #40a5d4;
    --secondary: #367ce6;
    /* Dark Theme Variables */
    --background: #011652;
    --background-gradient: linear-gradient(135deg, #011652 0%, #0460B8 100%);
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --border-radius: 16px;
    --success: #00e676;
    --error: #ff5252;
    --logo-gradient: linear-gradient(135deg, #00E5FF 0%, #0066FF 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    /* Fallback */
    background: var(--background-gradient);
    background-attachment: fixed;
    /* Keep gradient fixed during scroll */
    color: var(--text);
    transition: all 0.3s ease;
    line-height: 1.6;
    min-height: 100vh;
}

/* New Year Theme Background */
.new-year-theme {
    /* Festive Cool Glow at the top for New Year overlaying the dark blue */
    background: radial-gradient(circle at 50% -10%, rgba(200, 230, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 30%, rgba(0, 4, 40, 0) 60%),
        linear-gradient(135deg, #021B79 0%, #0575E6 100%) !important;
    background-attachment: fixed !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    padding: 0.25rem 0;
}

.logo-img {
    width: 130px;
    height: auto;
    transition: width 0.3s ease;
}

@media (min-width: 1025px) {

    .christmas-theme .logo-img,
    .new-year-theme .logo-img,
    .dashboard-page .logo-img {
        width: 160px;
    }
}

.logo i {
    font-size: 2rem;
    color: var(--primary);
    animation: wave 1.5s ease-in-out infinite;
}

.logo h1 {
    font-size: 1.8rem;
    position: relative;
    padding-left: 1rem;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo h1 .diagno {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.logo h1 .med {
    color: color-mix(in srgb, var(--secondary) 80%, white 20%);
    font-weight: 500;
}

.logo h1 .ai {
    color: color-mix(in srgb, var(--primary) 80%, var(--text) 20%);
    font-size: 0.9em;
    margin-left: 0.3rem;
}

/* Add animation to the gradient */
@keyframes logo-glow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.logo h1 {
    background-size: 200% 200%;
    animation: logo-glow 5s ease infinite;
}

/* Update the vertical line color to match */
.logo h1::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    opacity: 0.5;
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-3px);
    }

    50% {
        transform: translateY(2px);
    }

    75% {
        transform: translateY(-1px);
    }
}

.upload-section {
    margin-bottom: 3rem;
}

.upload-card {
    background: rgba(30, 60, 100, 0.25);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.drop-zone {
    border: 2px dashed var(--primary);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    touch-action: manipulation;
}

.drop-zone:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.upload-content {
    max-width: 400px;
    margin: 0 auto;
}

.upload-content i {
    font-size: 1rem;
    color: var(--primary);
    display: inline-block;
    vertical-align: top;
    margin-top: 2px;
    margin-right: 2px;
}

.upload-btn {
    background: linear-gradient(to right, #4285f4, #2c67d6);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(66, 133, 244, 0.3);
    margin-top: 15px;
    width: 100%;
    max-width: 300px;
}

.upload-btn:hover {
    background: linear-gradient(to right, #2c67d6, #1a4ca8);
    box-shadow: 0 6px 8px rgba(66, 133, 244, 0.4);
    transform: translateY(-2px);
}

.upload-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
}

.upload-btn.hidden {
    display: none;
}

.preview-container {
    margin-top: 2rem;
    position: relative;
    max-width: 400px;
    margin: 20px auto;
}

.image-preview {
    max-width: 100%;
    max-height: 250px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px var(--shadow);
    margin: 1rem auto 0;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    touch-action: pan-y;
    display: block;
}

.image-preview.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 1000;
    max-height: 90vh;
    max-width: 90vw;
    background: var(--card-bg);
    padding: 1rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    cursor: zoom-out;
    transform-origin: center;
}

.results-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
}

.result-item {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
}

.result-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.result-item p,
.result-item .report-content {
    white-space: normal;
    line-height: 1.8;
}

/* Enhanced Report Content Formatting - Mobile First */
.report-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    /* Slate 700 - Dark for visibility on white */
}

.report-value {
    color: #1e293b;
    /* Slate 800 */
    font-weight: 500;
}

.report-subsection-header {
    font-weight: 700;
    color: #0369a1;
    /* Sky 700 - Darker Blue */
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 2px;
}

.report-nested-header {
    font-weight: 600;
    color: #9333ea;
    /* Purple 600 - Darker Purple */
    font-size: 0.9rem;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.report-list-item {
    padding-left: 1rem;
    margin: 0.35rem 0;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
}

.report-list-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0ea5e9;
    /* Sky 500 */
}

.report-key {
    color: #0369a1;
    /* Sky 700 */
    font-weight: 600;
}

.report-kv-row {
    margin: 0.3rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.report-kv-value {
    color: #334155;
    /* Slate 700 */
}

.report-text {
    margin: 0.3rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.report-spacer {
    height: 0.5rem;
}

@media (max-width: 768px) {

    .report-content,
    .report-list-item,
    .report-kv-row,
    .report-text {
        font-size: 0.9rem;
    }

    .report-subsection-header {
        font-size: 0.9rem;
    }
}

.loader {
    display: none;
    text-align: center;
    padding: 2rem;
    position: relative;
    flex-direction: column;
    gap: 1rem;
}

/* Partner/support banner inside loader */
.support-banner {
    margin: 0.5rem auto 0;
    padding: 0.25rem 0;
    /* cleaner, tighter */
    width: 100%;
    max-width: 720px;
    /* a bit wider on desktop */
    background: transparent;
    /* remove background */
    border-radius: 0;
    /* remove rounding */
    border: 0;
    /* no border */
}

.support-label {
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    margin: 0 0 0.5rem 0;
}

.support-link {
    display: block;
    text-decoration: none;
}

.support-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .support-banner {
        padding: 0.3rem 0;
        max-width: 100%;
    }

    .support-label {
        font-size: 0.8rem;
        text-align: center;
        margin: 0 0 0.4rem 0;
    }
}

@media (min-width: 769px) {
    .support-banner {
        max-width: 400px;
    }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #80d8ff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.spinner::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 3px solid rgba(0, 180, 216, 0.2);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader p {
    font-size: 1rem;
    /* slightly smaller */
    color: #80d8ff;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.loader .analyzing-dots span {
    animation: dot-bounce 1.4s infinite ease-in-out;
    display: inline-block;
}

.loader .analyzing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader .analyzing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-bounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }
}

/* Add progress pulse animation */
@keyframes pulse-glow {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.loader .disclaimer {
    color: #80d8ff;
    opacity: 0.9;
    font-size: 0.9rem;
    /* reduce size */
}

.theme-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 2rem 1rem !important;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: var(--glass-border);
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: 1.6rem !important;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary);
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 116, 178, 0.2);
    text-decoration: none !important;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 116, 178, 0.3);
    text-decoration: none !important;
}

.free-badge {
    background: #00c853;
    color: white;
    padding: 1px 3px;
    border-radius: 20px;
    font-size: 0.4rem;
    font-weight: 700;
    letter-spacing: -0.7px;
    margin-left: 1rem;
    position: absolute;
    right: -5px;
    top: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 768px) {
    .free-badge {
        font-size: 0.55rem;
    }
}

.disclaimer {
    font-size: 0.9rem;
    margin-top: 1.5rem;
    opacity: 0.8;
}

/* Updated Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    padding: 1.5rem;
    margin: 0;
    border: var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
}

.feature-card h3 {
    font-size: 1rem;
    margin: 0.5rem 0 0.25rem;
    font-weight: 600;
    width: 100%;
    padding: 0 1rem;
}

.feature-card p {
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0.9;
    padding: 0 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 240px;
}

/* Add entrance animation */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: cardEntrance 0.6s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1),
.feature-card:nth-child(2),
.feature-card:nth-child(3),
.feature-card:nth-child(4) {
    animation-delay: 0.1s;
}

/* Process Steps */
.process-steps {
    margin: 4rem 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.supported-modalities {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.modality {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.modality i {
    font-size: 2rem;
    color: var(--primary);
}

/* Add loading animation */
@keyframes pulse {
    0% {
        opacity: 1
    }

    50% {
        opacity: 0.5
    }

    100% {
        opacity: 1
    }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Enhanced drop zone states */
.dragover {
    border-color: var(--success) !important;
    background: rgba(0, 200, 83, 0.05) !important;
    transform: scale(1.02);
}

/* Error state */
.error-state {
    border-color: var(--error) !important;
    background: rgba(213, 0, 0, 0.05) !important;
}

/* Add to error styles */
.error {
    color: var(--error);
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    text-align: center;
    margin: 1rem 0;
}

.error i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.size-warning {
    background-color: #fff8e1 !important;
    border: 1px solid #ffe082 !important;
    color: #f57c00 !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 8px 0 12px 0 !important;
    font-size: 0.8rem !important;
    max-height: none !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.size-warning i {
    font-size: 0.95rem !important;
    color: #ff9800 !important;
    margin-right: 0 !important;
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
}

/* Add mobile media queries */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.3rem !important;
        letter-spacing: -0.3px;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }

    .cta-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .upload-card {
        padding: 0.75rem;
    }

    .drop-zone {
        padding: 1.5rem 1rem;
    }

    .upload-content h3 {
        font-size: 1.2rem;
    }

    .preview-container {
        margin: 10px auto;
    }

    .image-preview {
        max-height: 200px;
    }

    .results-section {
        padding: 1rem;
    }

    .feature-card {
        padding: 0.75rem;
    }

    .logo-img {
        max-width: 120px;
        margin-bottom: 0.25rem;
    }

    .header {
        margin-bottom: 1rem;
    }

    .clinical-content h3 {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .optional {
        font-size: 0.55rem;
        padding: 0.1rem 0.3rem;
        margin-left: 0.2rem;
    }

    .contact-link {
        top: 1.6rem;
    }

    .ai-radiologist {
        font-size: 1.5rem;
        display: block;
        line-height: 1.2;
        margin-top: 0.5rem;
    }

    .upload-content h4 {
        font-size: 0.9rem;
    }

    .upload-content i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 1.5rem 0.5rem 0.5rem 0.5rem !important;
    }

    .hero-content h1 {
        font-size: 1.2rem !important;
        line-height: 1.2;
        padding: 0 0.5rem;
    }

    .cta-btn {
        width: 100%;
        padding: 1rem 1.5rem !important;
        font-size: 0.95rem !important;
        flex-direction: row !important;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
    }

    .cta-label-basic,
    .cta-label-advanced {
        margin-right: 4px !important;
    }

    .cta-btn span:not(.free-badge):not(.premium-badge) {
        display: inline !important;
        flex-direction: unset !important;
        align-items: unset !important;
        gap: unset !important;
    }

    .free-badge,
    .premium-badge {
        position: absolute !important;
        right: -5px !important;
        top: -8px !important;
        margin: 0 !important;
        order: unset !important;
    }

    .cta-btn i {
        margin-right: 8px !important;
    }

    .drop-zone {
        padding: 1rem 0.5rem !important;
    }

    .upload-content h3 {
        font-size: 1.1rem !important;
    }

    .upload-btn {
        width: 100%;
        padding: 10px !important;
    }

    .preview-controls {
        bottom: 10px !important;
        right: 10px !important;
    }

    .zoom-btn,
    .close-zoom-btn {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }

    .results-section {
        padding: 0.5rem !important;
    }

    .result-item {
        margin: 1rem 0 !important;
        padding: 1rem !important;
    }

    .mobile-hide {
        display: none;
    }

    .upload-content p {
        font-size: 0.9rem;
    }

    .result-item h3 {
        font-size: 1rem;
    }

    .result-item p {
        font-size: 0.9rem;
    }

    /* Improve touch targets */
    .upload-btn,
    .cta-btn {
        min-width: 120px;
        padding: 1rem !important;
    }

    /* Prevent accidental overscroll color */
    html {
        background: var(--background);
    }

    /* Better touch feedback */
    button {
        -webkit-tap-highlight-color: transparent;
    }

    .advanced-btn {
        width: 100%;
        margin-top: 1rem;
    }

    .advanced-btn .coming-soon-badge {
        right: -5px;
        top: -8px;
    }

    .cta-buttons {
        width: 100%;
        max-width: none;
    }

    .advanced-btn {
        margin-top: 0;
    }

    .cta-btn .cta-label-basic,
    .cta-btn .cta-label-advanced {
        font-size: 0.95em;
    }

    .contact-link {
        top: 1rem;
    }

    .ai-radiologist {
        font-size: 1.3rem;
    }

    .upload-content h4 {
        font-size: 0.85rem;
    }

    .upload-content i {
        font-size: 0.85rem;
    }
}

/* Add this new breakpoint for very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0.5rem !important;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .feature-card h3 {
        font-size: 1rem !important;
    }

    .hero-content h1 {
        font-size: 1.1rem !important;
    }

    .upload-btn {
        font-size: 0.9rem !important;
    }

    .cta-btn {
        font-size: 0.8rem !important;
        padding: 0.75rem !important;
    }

    .cta-btn i {
        font-size: 1rem !important;
    }

    .contact-link {
        top: 0.8rem;
    }

    .ai-radiologist {
        font-size: 1.2rem;
    }
}

.feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Add touch-action properties */
.drop-zone {
    touch-action: manipulation;
}

.image-preview {
    touch-action: pan-y;
}

/* Add to existing badge styles */
.coming-soon-badge {
    background: #ff6f00;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 1rem;
    position: absolute;
    right: -10px;
    top: -10px;
}

/* Update advanced button styles */
.advanced-btn {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.95rem;
    line-height: 1.3;
    margin-top: 0;
    order: 2;
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--secondary) !important;
    opacity: 1 !important;
}

.advanced-btn:hover {
    background: rgba(255, 255, 255, 1) !important;
    opacity: 1 !important;
}

/* Make icon slightly transparent */
.advanced-btn i {
    opacity: 0.8;
}

/* Adjust coming soon badge */
.coming-soon-badge {
    background: rgba(255, 111, 0, 0.9);
    opacity: 0.9;
}

/* Add button container styling */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Adjust original CTA button margin */
.cta-btn {
    margin-top: 0;
    /* Remove original margin */
}

/* Ultra-slim Testimonials */
.testimonials {
    padding: 1.5rem 0;
    margin: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-track {
    overflow: hidden;
    position: relative;
    height: 40px;
    will-change: transform;
}

.testimonial-line {
    display: flex;
    animation: scroll 30s linear infinite;
    animation-fill-mode: forwards;
    position: absolute;
    width: 300%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.testimonial-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.9;
    white-space: nowrap;
    padding: 0 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.rating {
    color: #ffc107;
    font-size: 0.8rem;
}

.testimonial-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .disclaimer {
        margin-top: 0.5rem;
    }
}

@keyframes scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-66.666%, 0, 0);
    }
}

@media (max-width: 768px) {
    .testimonial-item {
        font-size: 0.8rem;
        padding: 0 1rem;
    }

    .testimonial-line {
        animation-duration: 20s;
    }
}

/* Add to disclaimer styles */
.disclaimer .no-signup {
    display: inline-block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    padding-bottom: 2px;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}



@media (max-width: 768px) {
    .disclaimer .no-signup {
        font-size: 0.95rem;
        border-bottom-width: 1px;
    }
}

/* Add these logo styles */
.logo-img {
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto 0.25rem;
}

/* Remove original logo styles */
.logo h1,
.logo i.fa-heartbeat {
    display: none;
}

/* Adjust header spacing */
.header {
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo-img {
        max-width: 120px;
        margin-bottom: 0.25rem;
    }

    .header {
        margin-bottom: 1rem;
    }
}

/* Update the premium badge styles to match free badge positioning */
.premium-badge {
    background: #FFD700;
    color: #2A4E5E;
    padding: 3px 10px;
    /* Reduced padding */
    border-radius: 20px;
    font-size: 0.7rem;
    /* Smaller font size */
    right: -3px;
    /* Adjusted positioning */
    top: -6px;
}

/* Ensure both badges have consistent positioning */
.free-badge,
.premium-badge {
    position: absolute;
    right: -5px;
    top: -8px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Add mobile-specific adjustments */
@media (max-width: 480px) {

    .free-badge,
    .premium-badge {
        position: static;
        /* Stack badge above text */
        display: block;
        margin: 0 auto 4px;
        width: max-content;
        font-size: 0.65rem;
        padding: 2px 8px;
    }
}

/* Update CTA button text styles */
.cta-btn {
    /* ... existing styles ... */
    font-size: 1.1rem;
    /* Reduced from 1.2rem */
    padding: 1.25rem 2rem;
    /* Adjusted padding */
    white-space: nowrap;
    /* Prevent text wrapping */
}

/* Specific styles for button labels */
.cta-btn .cta-label-basic {
    color: #002244;
    /* Dark blue color */
    font-weight: 700;
    min-width: 80px;
    text-align: left;
}

.cta-btn .cta-label-advanced {
    color: #C5A42E;
    /* Medium-dark gold */
    font-weight: 700;
    min-width: 80px;
    text-align: left;
}

/* Adjust badge positioning */
.free-badge,
.premium-badge {
    right: -5px;
    top: -8px;
    padding: 3px 10px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .cta-btn {
        font-size: 0.95rem;
        /* Slightly larger text on mobile */
        padding: 1rem 1.5rem !important;
    }

    .cta-btn .cta-label-basic,
    .cta-btn .cta-label-advanced {
        font-size: 0.95em;
        /* Slightly smaller text */
        min-width: 60px;
    }
}

.cta-label-basic::after,
.cta-label-advanced::after {
    content: "\00a0";
    /* Non-breaking space */
    margin-right: -2px;
    /* Pull hyphen closer */
}

/* Add to existing CSS */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Add iOS-specific touch feedback */
@supports (-webkit-touch-callout: none) {
    .upload-btn:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Add button divider styles */
.button-divider {
    height: 1px;
    width: 60%;
    margin: 0.5rem auto;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    position: relative;
}

.button-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
    animation: divider-glow 2.5s ease-in-out infinite;
}

@keyframes divider-glow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Adjust button container spacing */
.cta-buttons {
    gap: 0.5rem;
}

/* Add these styles */
.clinical-input {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.clinical-input:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 116, 178, 0.08);
}

.clinical-content {
    padding: 0.8rem;
}

.clinical-content h3 {
    color: #4d94ff;
    margin-bottom: 1rem;
    font-size: 1.0rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.input-group {
    max-width: 100%;
    width: 100%;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

.input-group label i {
    color: color-mix(in srgb, var(--primary) 60%, var(--text) 40%);
    font-size: 0.9em;
}

textarea {
    width: 100%;
    min-height: 120px;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    border-width: 1.5px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--border-radius) - 2px);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: all 0.3s ease;
    line-height: 1.7;
}

textarea::placeholder {
    color: color-mix(in srgb, var(--text) 40%, transparent 60%);
    font-style: italic;
}

textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
    background: var(--card-bg);
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: color-mix(in srgb, var(--text) 50%, transparent);
    margin-top: 0.3rem;
    transition: color 0.3s ease;
}

.char-counter.warning {
    color: var(--error);
}

.optional {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-left: 0.75rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    textarea {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }

    .clinical-content h3 {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .optional {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
        margin-left: 0.2rem;
    }
}

/* Add to header styles */
.header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 116, 178, 0.2);
}

/* Mobile styles */
@media (max-width: 768px) {
    .contact-link {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 120px !important;
        margin-left: 0.5rem;
    }
}

/* Add to hero section styles */
.ai-radiologist {
    background: linear-gradient(135deg, #33FFFF 0%, #33B3FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 8px rgba(0, 200, 255, 0.2);
    animation: heartbeat-glow 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -0.5px;
}

@keyframes heartbeat-glow {

    0%,
    50% {
        /* 1.5s rest (50% of 3s) */
        text-shadow: 0 2px 8px rgba(0, 200, 255, 0.2);
    }

    66% {
        /* 0.5s glow build-up (50-66%) */
        text-shadow: 0 4px 16px rgba(0, 200, 255, 0.4),
            0 0 12px rgba(255, 255, 255, 0.15);
    }

    82% {
        /* 0.5s glow sustain (66-82%) */
        text-shadow: 0 4px 16px rgba(0, 200, 255, 0.4),
            0 0 12px rgba(255, 255, 255, 0.15);
    }

    100% {
        /* 0.5s return to rest (82-100%) */
        text-shadow: 0 2px 8px rgba(0, 200, 255, 0.2);
    }
}

/* New AI Announcement Banner */
.new-ai-announcement {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 1rem;
    /* Darker, more premium background */
    background: rgba(0, 20, 40, 0.6);
    border: 1px solid rgba(64, 196, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideDownFade 0.8s ease-out forwards;
    white-space: nowrap;
    /* Force one line */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-icon {
    font-size: 1.1rem;
}

.announcement-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.announcement-text strong {
    color: #40c4ff;
    font-weight: 700;
    margin-right: 4px;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

@media (max-width: 768px) {
    .new-ai-announcement {
        padding: 0.15rem 0.8rem;
        margin-bottom: 0.75rem;
        border-radius: 30px;
    }

    .announcement-text {
        font-size: 0.8rem;
    }
}

/* Add border for better contrast */
.ai-radiologist::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(51, 179, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.6) 100%);
    border-radius: 2px;
}

/* Increase animation contrast */
@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.ai-radiologist {
    background-size: 200% 200%;
    transition: all 0.3s ease;
}

.ai-radiologist:hover {
    transform: scale(1.02) rotate(-1deg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .ai-radiologist {
        font-size: 1.5rem;
        display: block;
        line-height: 1.2;
        margin-top: 0.5rem;
    }
}

/* Add specific styling for very small screens */
@media (max-width: 360px) {
    .contact-link {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        top: 0.8rem;
        right: 0.6rem;
    }

    .logo-img {
        max-width: 100px !important;
    }
}

@media (max-width: 480px) {
    .advanced-btn {
        padding: 0.7rem 0.9rem !important;
        font-size: 0.85rem !important;
    }

    .premium-badge {
        top: -5px;
    }
}

.clinical-input .upload-card {
    padding: 0.5rem 0.8rem;
}

.clinical-content {
    padding: 0.8rem;
}

/* Update the warning text styles */
.whatsapp-warning {
    font-size: 0.75rem;
    font-style: italic;
    color: #666;
    display: block;
    margin-top: 0.5rem;
    line-height: 1.3;
    font-weight: normal;
    /* Add this line to explicitly set normal weight */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-warning {
        font-size: 0.6rem;
        margin-top: 0.3rem;
    }
}

/* Update these styles */
.whatsapp-warning,
.upload-content .mobile-hide {
    /* Add selector for mobile-hide */
    font-size: 0.75rem;
    font-style: italic;
    color: #666;
    display: block;
    margin-top: 0.5rem;
    line-height: 1.3;
}

/* Mobile adjustments */
@media (max-width: 768px) {

    .whatsapp-warning,
    .upload-content .mobile-hide {
        /* Add mobile-hide here too */
        font-size: 0.6rem;
        margin-top: 0.3rem;
    }
}

/* Add to existing CSS */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.results-title {
    margin-right: auto;
    padding-bottom: 0.25rem;
    line-height: 1.2;
}

.new-analysis-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 116, 178, 0.2);
    margin: 0.5rem 0 0;
    line-height: 1.3;
}

.new-analysis-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 116, 178, 0.3);
    opacity: 0.9;
}

.new-analysis-btn:active {
    transform: translateY(0);
    opacity: 1;
}

.new-analysis-btn i {
    font-size: 0.8em;
    margin-right: -2px;
}

@media (max-width: 480px) {
    .results-header {
        flex-direction: column;
        align-items: stretch;
    }

    .new-analysis-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Add to existing button styles */
.submit-btn {
    background: linear-gradient(to right, #4285f4, #2c67d6);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 15px auto;
    box-shadow: 0 4px 6px rgba(66, 133, 244, 0.3);
    width: 100%;
    max-width: 300px;
}

.submit-btn:hover {
    background: linear-gradient(to right, #2c67d6, #1a4ca8);
    box-shadow: 0 6px 8px rgba(66, 133, 244, 0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(to right, #9ca3af, #808590);
    box-shadow: none;
    transform: none;
}

/* Add this new rule */
.upload-btn.hidden {
    display: none !important;
}

/* Update new analysis button styles */
.new-analysis-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 116, 178, 0.2);
    margin: 0.5rem 0 0;
    line-height: 1.3;
}

/* Add to results header */
.results-header {
    gap: 0.5rem;
    align-items: baseline;
}

.results-title {
    margin-right: auto;
    padding-bottom: 0.25rem;
    line-height: 1.2;
}

.submit-reminder {
    font-size: 0.75rem;
    /* Reduced from 0.8rem */
    line-height: 1.2;
    /* Tighter line spacing */
    max-width: 280px;
    /* Slightly narrower container */
    text-align: center;
    color: color-mix(in srgb, var(--text) 60%, transparent);
    margin-top: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

@media (max-width: 480px) {
    .submit-reminder {
        font-size: 0.65rem;
        /* Reduced from 0.7rem */
        padding: 0 0.3rem;
        /* Tighter side padding */
    }
}

/* Feedback styles */
.feedback-container {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(67, 133, 163, 0.2);
    background-color: rgba(64, 165, 212, 0.05);
    border-radius: var(--border-radius);
}

.feedback-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feedback-title i {
    color: var(--primary);
}

.feedback-input {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(67, 133, 163, 0.3);
    border-radius: var(--border-radius);
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: all 0.2s ease;
    background-color: var(--card-bg);
    color: var(--text);
}

.feedback-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(64, 165, 212, 0.2);
}

.feedback-submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.feedback-submit-btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(67, 133, 163, 0.2);
}

.feedback-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(67, 133, 163, 0.2);
}

.mt-4 {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .feedback-container {
        padding: 1rem;
    }

    .feedback-input {
        min-height: 80px;
    }
}

/* Star Rating Styles */
.rating-container {
    margin: 0.5rem 0;
}

.star-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.rating-label {
    margin-right: 10px;
    color: #666;
    font-weight: 500;
}

.star-icon {
    font-size: 1.25rem;
    cursor: pointer;
    margin-right: 0.25rem;
    transition: all 0.2s ease;
    color: #ccc;
}

.star-icon.small {
    font-size: 1rem;
    margin-right: 2px;
}

.star-icon:hover,
.star-icon.fas {
    transform: scale(1.1);
}

.star-icon.fas {
    color: #f59e0b;
}

.star-icon:hover~.star-icon {
    color: #ccc;
}

.rating-value {
    color: #666;
    margin-left: 6px;
}

.star-icon:hover {
    color: #f59e0b;
}

.feedback-counter {
    text-align: right;
    font-size: 0.8rem;
    color: color-mix(in srgb, var(--text) 50%, transparent);
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.feedback-counter.warning {
    color: var(--error);
}

@media (max-width: 768px) {
    .feedback-container {
        padding: 1rem;
    }

    .feedback-input {
        min-height: 80px;
    }

    .feedback-counter {
        font-size: 0.7rem;
    }
}

/* Add a new style for disabled analysis selector buttons */
.analysis-selector:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    box-shadow: none !important;
    transform: none !important;
}

.analysis-selector:disabled .free-badge,
.analysis-selector:disabled .premium-badge {
    opacity: 0.6;
}

/* Ensure these styles apply in mobile view too */
@media (max-width: 480px) {
    .analysis-selector:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
    }
}

.upload-instructions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.upload-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.upload-subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.zoom-hint {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.75rem !important;
    margin-top: 0.5rem;
    font-style: italic;
    font-weight: 400;
}

/* ====================================
   Navigation Buttons - Shared Styles
   (Used by index.ejs and dashboard.ejs)
   ==================================== */

/* Nav container - supports both class names */
.nav-actions,
.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Base nav button styles */
.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
}

.nav-btn i {
    margin-right: 6px;
}

/* Dashboard button (blue) */
.dashboard-btn {
    background-color: #4285f4;
    border: 1px solid #4285f4;
}

.dashboard-btn:hover {
    background-color: #2c67d6;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

/* Home button (blue) */
.home-btn {
    background-color: #4285f4;
    border: 1px solid #4285f4;
}

.home-btn:hover {
    background-color: #2c67d6;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

/* Admin button (green) */
.admin-btn {
    background-color: #34a853;
    border: 1px solid #34a853;
}

.admin-btn:hover {
    background-color: #2a8644;
    box-shadow: 0 2px 8px rgba(52, 168, 83, 0.3);
}

/* Logout button (gray) */
.logout-btn {
    background-color: #5f6368;
    border: 1px solid #5f6368;
    padding: 8px 12px;
}

.logout-btn:hover {
    background-color: #4a4e52;
    box-shadow: 0 2px 8px rgba(95, 99, 104, 0.3);
}

/* Donate button (red/pink) */
.donate-btn {
    background-color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.donate-btn:hover {
    background-color: #ff4f4f;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* Tablet adjustments */
@media (max-width: 768px) {

    .nav-actions,
    .nav-buttons {
        gap: 10px;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* Mobile - circular icon buttons */
@media (max-width: 480px) {

    .nav-actions,
    .nav-buttons {
        flex: 0 0 auto;
        gap: 8px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
    }

    .nav-btn i {
        margin-right: 0;
        font-size: 1.1rem;
    }

    .nav-btn span {
        display: none;
    }

    /* Contact/Login link as circular button on mobile */
    .contact-link {
        position: static;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .contact-link i {
        margin-right: 0;
    }

    .contact-link span {
        display: none;
    }
}