/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SourceSansPro', sans-serif;
    line-height: 1.6;
    color: #121212;
}

/* Colors based on Chakra UI theme */
:root {
    --accent-000: #DCCEF6;
    --accent-100: #C5ADF0;
    --accent-200: #A885E9;
    --accent-300: #8A5CE1;
    --accent-400: #6D33DA;
    --accent-500: #500AD2;
    --accent-600: #4308AF;
    --accent-700: #35078C;
    --accent-800: #280569;
    --accent-900: #1B0346;
    
    --neutral-grey: #F6F7F7;
    --neutral-violet: #A8A3C2;
    --neutral-black: #121212;
    --neutral-white: #FFFFFF;
    
    --background-100: #F5F6FA;
    --landing-blue: #001d87;
    --text-color: #001E87;
    
    /* Brand-specific variables (will be updated by ThemeService) */
    --brand-background: #500AD2;
    --brand-font-color: white;
}

/* Container classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 768px;
}

.container-md {
    max-width: 992px;
}

.container-lg {
    max-width: 1200px;
}

.container-xl {
    max-width: 1440px;
}

/* Flex utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-white {
    color: white;
}

.text-blue {
    color: var(--landing-blue);
}

.text-gray-400 {
    color: #9CA3AF;
}

.text-gray-900 {
    color: #111827;
}

/* Font sizes */
.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

/* Font weights */
.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

/* Spacing */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }
.m-5 { margin: 1.25rem; }
.m-8 { margin: 2rem; }
.m-10 { margin: 2.5rem; }
.m-16 { margin: 4rem; }
.m-20 { margin: 5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }

.ml-4 { margin-left: 1rem; }
.ml-5 { margin-left: 1.25rem; }

.mr-10 { margin-right: 2.5rem; }

.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.pt-10 { padding-top: 2.5rem; }
.pt-16 { padding-top: 4rem; }
.pt-24 { padding-top: 6rem; }

.pb-0 { padding-bottom: 0; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-20 { padding-bottom: 5rem; }

.pl-16 { padding-left: 4rem; }
.pr-16 { padding-right: 4rem; }

/* Width and height */
.w-full {
    width: 100%;
}

.w-20 {
    width: 5rem;
}

.w-6 {
    width: 1.5rem;
}

.h-full {
    height: 100%;
}

.h-6 {
    height: 1.5rem;
}

.h-14 {
    height: 3.5rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-7xl {
    max-width: 80rem;
}

/* Background colors */
.bg-white {
    background-color: white;
}

.bg-accent-500 {
    background-color: var(--accent-500);
}

/* Borders and shadows */
.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Specific component styles */
.navbar {
    background-color: var(--accent-500);
    height: 4rem;
    width: 100%;
}

.navbar-container {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0.25rem;
    box-sizing: border-box;
}

.navbar img {
    height: 100%;
    margin-left: 5px;
}

.hero {
    background-color: var(--accent-500);
}

.hero-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    max-width: 56rem;
    padding: 0 2.5rem;
    padding-top: 4rem;
    margin: 0 auto;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5rem;
    flex-shrink: 0;
    width: 320px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-bottom: 2.5rem;
    color: white;
}

.hero-title {
    font-weight: bold;
    font-size: 3rem;
    line-height: 1;
}

.app-badges {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-badges img {
    height: 4rem;
}

.app-badges .google-play {
    height: 5rem;
}

.features {
    padding: 5rem 0;
    background-color: white;
    color: var(--landing-blue);
}

.features-container {
    display: flex;
    flex-direction: column;
    padding: 0 2rem;
    margin: 0 auto;
    max-width: 80rem;
}

.features-title {
    width: 100%;
    text-align: center;
    font-size: 3rem;
}

.features-subtitle {
    width: 100%;
    padding: 2rem 0;
    margin: 0 auto;
    margin-top: -1rem;
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    max-width: 48rem;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.feature-image {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    width: 41.666667%;
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
}

.feature-content.right {
    padding-left: 4rem;
}

.feature-content.left {
    padding-right: 4rem;
}

.feature-tag {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
}

.feature-title {
    margin-top: 0.5rem;
    font-size: 2.25rem;
    text-align: left;
    font-weight: normal;
}

.feature-description {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    text-align: left;
}

.cta {
    display: flex;
    width: 100%;
    background-color: var(--accent-500);
}

.cta-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 1rem;
    text-align: center;
}

.cta-tag {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.cta-title {
    margin-top: 0.25rem;
    font-size: 3.75rem;
    font-weight: 800;
    color: white;
}

.cta-subtitle {
    color: white;
    font-size: 1.25rem;
    max-width: 48rem;
    margin-top: 1.25rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-badges {
    margin-top: 2.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cta-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cta-badge.google {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.footer {
    background-color: white;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    margin: 0 auto;
    max-width: 80rem;
}

.footer-logo {
    font-size: 1.25rem;
    color: #111827;
}

.footer-logo img {
    width: 5rem;
}

.footer-text {
    font-size: 0.875rem;
    color: #111827;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: solid 1px #E5E7EB;
    margin-top: 1rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-left: auto;
}

.footer-social a {
    color: #9CA3AF;
    text-decoration: none;
}

.footer-social a:hover {
    color: #9CA3AF;
}

.footer-social a:not(:first-child) {
    margin-left: 1.25rem;
}

/* Image responsive sizing */
.hero-image img {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-width: 320px;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-width: 300px;
}

.app-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.app-badges img {
    max-width: 120px;
    height: auto;
}

.app-badges .google-play {
    max-width: 140px;
}

.cta-badges {
    margin-top: 2.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-badge img {
    height: auto;
    max-width: 140px;
}

/* Responsive design */
@media (min-width: 640px) {
    .hero-container {
        flex-direction: row;
        padding-top: 6rem;
    }
    
    .hero-content {
        align-items: flex-start;
        padding-bottom: 0;
    }
    
    .hero-image img {
        margin-right: 10rem;
        width: 320px;
    }
    
    .feature-image img {
        max-width: 400px;
    }
    
    .feature-item {
        flex-direction: row;
    }
    
    .feature-item.reverse {
        flex-direction: row;
    }
    
    .features-title {
        font-size: 2.25rem;
    }
    
    .footer-container {
        flex-direction: row;
    }
    
    .footer-text {
        margin-top: 0;
    }
    
    .footer-social {
        justify-content: flex-start;
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    .features-title {
        font-size: 3rem;
    }
    
    .feature-title {
        font-size: 2.25rem;
    }
    
    .cta-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 4.5rem;
    }
    
    .features-container {
        padding: 0 3rem;
    }
    
    .cta-container {
        padding: 5rem 2rem;
    }
}

/* Login Page Styles */
.login-page {
    min-height: 100vh;
}

.login-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background-color: var(--background-100);
    min-height: 100vh;
}

.login-left {
    grid-column: span 4;
    padding: 1rem;
}

.login-left-grid {
    display: grid;
    gap: 1rem;
    height: 100%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px auto;
}

.login-header {
    grid-column: span 4;
    padding-top: 0.5rem;
    padding-left: 2.5rem;
}

.login-logo img {
    height: 200px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    object-fit: contain;
}

.login-form-container {
    grid-column-start: 1;
    grid-column: span 4;
}

.login-form-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-form-wrapper h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--neutral-black);
}

.login-form-wrapper form {
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--neutral-black);
}

.form-input {
    width: 100%;
    background-color: var(--neutral-white);
    border: 1px solid var(--neutral-violet);
    font-size: 16px;
    padding: 12px 16px;
    height: 48px;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--accent-500);
}

.form-input.error {
    border-color: #E53E3E;
}

.error-message {
    color: #E53E3E;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Data display styles for confirm page */
.data-display {
    margin: 1rem 0;
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin: 0.5rem 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.data-item label {
    font-weight: 600;
    color: #495057;
    margin: 0;
    text-transform: capitalize;
}

.data-value {
    color: #212529;
    font-weight: 400;
}

.submit-btn {
    margin-top: 2rem;
    width: 100%;
    padding: 12px 16px;
    background-color: var(--accent-500);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0px 4px 20px rgba(53, 7, 140, 0.2);
    transition: background-color 0.2s;
}

.submit-btn:hover:not(:disabled) {
    background-color: var(--accent-600);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.powered-by {
    margin: 1rem 0 2.5rem 0;
    text-align: center;
}

.powered-by-logo {
    height: 2rem;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #E2E8F0;
    margin: 1rem 0;
}

.qr-section {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code-container {
    height: 140px;
    width: 140px;
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin-right: 2.5rem;
}

.qr-text h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.qr-text p {
    font-size: 1rem;
    color: #4A5568;
}

.qr-section.mobile-only {
    flex-direction: column;
    text-align: center;
}

.qr-text-mobile {
    text-align: left;
    margin-bottom: 2.5rem;
}

.qr-text-mobile h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.qr-text-mobile p {
    font-size: 1rem;
    color: #4A5568;
}

.mobile-login-btn {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--accent-500);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
}

.login-right {
    grid-column: span 4;
    background-color: var(--accent-500);
    color: white;
    padding: 2rem;
    position: relative;
    display: none;
}

.floating-logo {
    position: absolute;
}

.logo-1 {
    top: 20%;
    left: -25px;
}

.logo-2 {
    top: calc(18% + 75px);
    left: 0;
}

.logo-3 {
    top: 70%;
    left: 80%;
}

.login-right-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.login-right-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-right-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.signup-btn {
    padding: 12px 24px;
    border: 1px solid white;
    background-color: var(--accent-500);
    color: white;
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.signup-btn:hover {
    background-color: var(--accent-600);
}

/* Show/hide utilities */
.desktop-only {
    display: none;
}

.mobile-only {
    display: flex;
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    color: white;
    z-index: 1000;
    max-width: 400px;
}

.toast-success {
    background-color: #38A169;
}

.toast-error {
    background-color: #E53E3E;
}

/* Responsive design for login */
@media (min-width: 768px) {
    .login-left {
        grid-column: span 7;
    }
    
    .login-right {
        grid-column: span 5;
        display: block;
    }
    
    .login-form-container {
        grid-column-start: 2;
        grid-column: span 4;
    }
    
    .desktop-only {
        display: flex;
    }
    
    .mobile-only {
        display: none;
    }
}

@media (min-width: 1024px) {
    .login-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 1rem;
    }
    
    .login-left {
        grid-column: span 7;
    }
    
    .login-right {
        grid-column: span 5;
    }
    
    .login-left-grid {
        grid-template-columns: repeat(7, 1fr);
    }
    
    .login-header {
        grid-column: span 7;
    }
    
    .login-form-container {
        grid-column-start: 2;
        grid-column: span 4;
    }
    
    .login-right {
        height: 100vh;
    }
}

/* Signup Page Styles */
.signup-page {
    min-height: 100vh;
}

.signup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background-color: var(--background-100);
    min-height: 100vh;
}

.signup-left {
    grid-column: span 4;
    padding: 1rem;
}

.signup-left-grid {
    display: grid;
    gap: 1rem;
    height: 100%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px auto;
    row-gap: 2.5rem;
}

.signup-header {
    grid-column: span 4;
    padding-top: 0.5rem;
    padding-left: 2.5rem;
}

.signup-logo img {
    height: 200px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

.signup-form-container {
    grid-column-start: 1;
    grid-column: span 4;
    height: calc(100% - 200px);
}

.signup-form-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.signup-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

.signup-title h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-black);
}

.signup-title h2 {
    font-size: 1.125rem;
    font-weight: 400;
    margin-top: 0.5rem;
    color: var(--neutral-black);
}

.signup-form-wrapper form {
    width: 100%;
    max-width: none;
}

.signup-right {
    grid-column: span 4;
    background-color: var(--accent-500);
    color: white;
    padding: 2rem;
    position: relative;
    display: none;
}

.signup-right-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.signup-right-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.signup-right-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Form elements */
.form-input select {
    background-color: var(--neutral-white);
    border: 1px solid var(--neutral-violet);
    font-size: 16px;
    padding: 12px 16px;
    height: 48px;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-input select:focus {
    border-color: var(--accent-500);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.875rem;
    line-height: 1.4;
    cursor: pointer;
}

.link-btn {
    background: none;
    border: none;
    color: var(--accent-500);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.link-btn:hover {
    color: var(--accent-600);
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 600px;
    max-height: 80vh;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: flex-end;
}

.btn-secondary {
    padding: 0.5rem 1rem;
    background-color: #E2E8F0;
    color: #374151;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #D1D5DB;
}

.condition-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E2E8F0;
}

.condition-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.condition-description {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.4;
}

/* Toast notifications - extending existing */
.toast-warning {
    background-color: #D69E2E;
}

/* Responsive design for signup */
@media (min-width: 640px) {
    .signup-logo img {
        height: 200px;
        max-width: 280px;
        object-fit: contain;
    }
    
    .signup-header {
        padding-left: 2.5rem;
        padding-top: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .signup-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 0;
    }
    
    .signup-left {
        grid-column: span 8;
        padding: 0;
    }
    
    .signup-right {
        grid-column: span 4;
        display: block;
        min-height: 100vh;
    }
    
    .signup-left-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 0;
        row-gap: 1rem;
    }
    
    .signup-header {
        grid-column: span 8;
        padding: 1rem 2rem 0 2rem;
    }
    
    .signup-form-container {
        grid-column-start: 1;
        grid-column: span 8;
        padding: 0 2rem 2rem 2rem;
    }
}

/* Verify Page Styles */
.verify-page {
    min-height: 100vh;
}

.verify-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background-color: var(--background-100);
    min-height: 100vh;
}

.verify-left {
    grid-column: span 4;
    padding: 1rem;
    padding-bottom: 15rem;
}

.verify-left-grid {
    display: grid;
    gap: 1rem;
    height: 100%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px auto;
}

.verify-header {
    grid-column: span 4;
    padding-top: 0.5rem;
    padding-left: 2.5rem;
}

.verify-logo img {
    height: 200px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

.verify-content-container {
    grid-column-start: 1;
    grid-column: span 4;
}

.verify-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.verify-content {
    margin-bottom: 1.5rem;
    text-align: left;
}

.verify-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-black);
}

.verify-content h2 {
    font-size: 1.375rem;
    font-weight: 200;
    margin-top: 0.5rem;
    color: var(--neutral-black);
}

.download-section {
    margin-top: 1.25rem;
}

.download-link {
    font-size: 1.125rem;
    font-weight: 200;
    margin-top: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
    color: var(--neutral-black);
}

.download-link:hover {
    color: var(--accent-500);
}

.verify-right {
    grid-column: span 4;
    background-color: var(--accent-500);
    color: white;
    padding: 2rem 1rem 2.5rem 2rem;
    position: relative;
    display: none;
    min-height: 600px;
}

.verify-right-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin-top: 1rem;
    overflow: hidden;
}

.verify-right-content h1 {
    font-size: 1.5rem;
    margin-top: 1.25rem;
    color: white;
}

.verify-right-content p {
    font-size: 1rem;
    margin-top: 0.5rem;
    color: white;
}

/* Thank You Page Styles */
.thankyou-page {
    min-height: 100vh;
}

.thankyou-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background-color: var(--background-100);
    min-height: 100vh;
}

.thankyou-left {
    grid-column: span 4;
    padding: 1rem;
    padding-bottom: 15rem;
}

.thankyou-left-grid {
    display: grid;
    gap: 1rem;
    height: 650px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px auto;
}

.thankyou-header {
    grid-column: span 4;
    padding-top: 0.5rem;
    padding-left: 2.5rem;
}

.thankyou-logo img {
    height: 200px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

.thankyou-content-container {
    grid-column-start: 1;
    grid-column: span 4;
}

.thankyou-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thankyou-content {
    margin-bottom: 1.5rem;
    text-align: left;
}

.thankyou-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-black);
}

.thankyou-content h2 {
    font-size: 1.25rem;
    font-weight: 200;
    margin-top: 0.5rem;
    color: var(--neutral-black);
}

.barcode-section {
    margin-top: 1.25rem;
}

.thankyou-right {
    grid-column: span 4;
    background-color: var(--accent-500);
    color: white;
    padding: 2rem 1rem 2.5rem 2rem;
    position: relative;
    display: none;
    min-height: 600px;
}

.thankyou-right-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin-top: 1rem;
    overflow: hidden;
}

.thankyou-right-content h1 {
    font-size: 1.5rem;
    margin-top: 1.25rem;
    color: white;
}

.thankyou-right-content p {
    font-size: 1rem;
    margin-top: 0.5rem;
    color: white;
}

/* Print Page Styles */
.print-page {
    background-color: var(--background-100);
    min-height: 100vh;
}

.print-controls {
    text-align: center;
    padding-top: 2.5rem;
}

.print-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-500);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.print-btn:hover {
    background-color: var(--accent-600);
}

.printable-area {
    background-color: var(--background-100);
    height: 100vh;
}

.print-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 0;
}

.print-logo {
    width: 200px;
    margin: 2.5rem 0;
}

.print-content h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--neutral-black);
}

.qr-code-print {
    height: 260px;
    width: 260px;
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.powered-by-print {
    margin-top: 1.25rem;
    text-align: center;
}

.store-badges-print {
    width: 320px;
    margin-top: 1.25rem;
    display: flex;
    gap: 1.25rem;
}

.store-badge {
    height: 200px;
}

/* Responsive design for verify and thankyou */
@media (min-width: 640px) {
    .verify-logo img,
    .thankyou-logo img {
        height: 200px;
        max-width: 280px;
        object-fit: contain;
        object-fit: contain;
    }
    
    .verify-header,
    .thankyou-header {
        padding-left: 2.5rem;
        padding-top: 0.5rem;
    }
}

@media (min-width: 768px) {
    .verify-grid,
    .thankyou-grid {
        gap: 2rem;
    }
    
    .verify-left,
    .thankyou-left {
        grid-column: span 7;
        padding-bottom: 2.5rem;
    }
    
    .verify-right,
    .thankyou-right {
        grid-column: span 5;
        display: block;
    }
    
    .verify-right-content h1,
    .thankyou-right-content h1 {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .verify-grid,
    .thankyou-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
    }
    
    .verify-left,
    .thankyou-left {
        grid-column: span 7;
    }
    
    .verify-right,
    .thankyou-right {
        grid-column: span 5;
        height: 100vh;
    }
    
    .verify-left-grid,
    .thankyou-left-grid {
        grid-template-columns: repeat(7, 1fr);
        height: 100%;
    }
    
    .verify-header,
    .thankyou-header {
        grid-column: span 7;
    }
    
    .verify-content-container,
    .thankyou-content-container {
        grid-column-start: 2;
        grid-column: span 4;
    }
}

/* Accordion Styles */
.accordion {
    width: 100%;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #E2E8F0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.2s;
    font-weight: 500;
}

.accordion-header:hover {
    background-color: var(--neutral-grey);
    border-left: 4px solid var(--accent-500);
}

.accordion-header.nested {
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: normal;
    background-color: #f8f9fa;
}

.accordion-header.nested:hover {
    background-color: #e9ecef;
}

.accordion-icon {
    font-size: 12px;
    transition: transform 0.2s;
    color: var(--accent-500);
}

.accordion-icon-open {
    transform: rotate(180deg);
}

.accordion-panel {
    padding: 16px;
    background-color: var(--neutral-grey);
    border-left: 4px solid var(--accent-500);
    animation: slideDown 0.2s ease-out;
}

.accordion-panel.nested {
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-left: 2px solid var(--accent-300);
    margin-left: 16px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.condition-details {
    line-height: 1.6;
}

.condition-details p {
    margin-bottom: 12px;
}

.nested-accordion {
    border-top: 1px solid #dee2e6;
    padding-top: 16px;
}

.nested-accordion .accordion-item {
    border-bottom: 1px solid #dee2e6;
}

.nested-accordion .accordion-item:last-child {
    border-bottom: none;
}

/* Loading Styles */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--background-100);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    max-width: 300px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px auto;
    border: 4px solid #f3f4f6;
    border-top: 4px solid var(--accent-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h2 {
    color: var(--neutral-black);
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.loading-content p {
    color: var(--neutral-violet);
    font-size: 1rem;
    margin: 0;
}