:root {
    --primary-color: #FFE14D;
    --secondary-color: #4A90E2;
    --light-purple: #E6E0FF;
    --dark-text: #333333;
    --light-text: #666666;
    --white: #FFFFFF;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 13px;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 376px;
    height: 138px;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-right: auto;
}

nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 200;
    padding-bottom: 5px;
    transition: none;
}

nav a:hover {
    color: inherit;
}

nav a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    pointer-events: none;
}

/* Dropdown menu styles */
nav li.dropdown {
    position: relative;
}

/* Add a gap area to prevent dropdown from disappearing */
nav li.dropdown::after {
    content: '';
    display: block;
    height: 10px;
    position: absolute;
    bottom: -10px;
    width: 100%;
}

nav li.dropdown:hover .dropdown-menu {
    display: block;
}

nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    transform: none;
    background-color: transparent;
    min-width: 180px;
    box-shadow: none;
    z-index: 100;
    padding: 0;
    border-radius: 0;
    text-align: right;
    margin-top: 10px;
}

/* Add hover area at the top of dropdown to prevent gap issues */
nav .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

nav .dropdown-menu li {
    display: block;
    margin: 0;
    padding: 0;
    text-align: right;
}

nav .dropdown-menu a {
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    white-space: nowrap;
    font-weight: 200;
    text-align: right;
}

nav .dropdown-menu a:hover {
    background-color: transparent;
    color: inherit;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-button {
    background-color: hsla(207.4, 88.72%, 61.76%, 1);
    color: white;
    padding: 18px 30px;
    text-decoration: none;
    font-weight: 100;
    font-size: 14px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.nav-button:hover {
    background-color: #3D9EF5;
    color: white;
}

.user-info {
    color: var(--secondary-color);
    padding: 0 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.user-info i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.user-info small {
    color: var(--light-text);
    font-size: 12px;
    font-weight: 400;
    margin-right: 4px;
}

/* Main Content Styles */
main {
    padding: 0 0 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-title {
    font-family: Poppins;
    font-size: 42px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center;
}

/* Truncate long usernames in header */
#userDisplayName {
    display: inline-block;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

/* Section Divider Styles */
.section-divider {
    position: relative;
    height: 120px;
    margin-top: 60px;
    overflow: hidden;
    background-color: transparent;
}

.section-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Footer Styles */
footer {
    background-color: #2B3990;
    color: white;
    padding: 40px 0 60px;
    margin-top: 0;
    width: 100%;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .footer-column {
    margin-bottom: 20px;
}

footer .footer-left {
    text-align: left;
    flex: 2;
    min-width: 400px;
}

footer .footer-center {
    text-align: center;
    flex: 1;
    min-width: 200px;
    display: flex;
    justify-content: center;
}

footer .footer-right {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

footer p {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

footer a {
    color: #4A90E2;
    text-decoration: underline;
    font-size: 16px;
}

footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 400;
}

footer .logo-img {
    width: 140px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: hidden;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 2% auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #333;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1010;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
    display: inline-block;
    margin: 0 5px;
}

.tooltip .tooltip-text {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    font-weight: normal;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    /* Prevents the tooltip from interfering with clicks */
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Disabled icon styles */
.tooltip.disabled .tooltip-text {
    background-color: rgba(100, 100, 100, 0.8);
}

.tooltip.disabled .tooltip-text::after {
    border-color: rgba(100, 100, 100, 0.8) transparent transparent transparent;
}

/* Account modal styles */
.account-container {
    padding: 40px;
    height: 100%;
    overflow-y: auto;
}

.account-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.account-section:last-child {
    border-bottom: none;
}

.account-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.account-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.account-option-label {
    flex: 1;
    font-size: 16px;
}

.account-option-value {
    flex: 2;
}

.account-button {
    background-color: #50ACFF;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.account-button:hover {
    background-color: #3D9EF5;
}

.account-button.danger {
    background-color: #e74c3c;
}

.account-button.danger:hover {
    background-color: #c0392b;
}

.account-button.disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.coming-soon {
    display: inline-block;
    background-color: #f39c12;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
}

/* Account status badge styles */
.account-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin: 0 10px;
    vertical-align: middle;
}

.account-status-badge.demo {
    background-color: #f0ad4e;
    /* Orange for Demo */
    color: white;
}

.account-status-badge.paid {
    background-color: #5cb85c;
    /* Green for Paid */
    color: white;
}

.demo-note {
    color: #999;
    font-style: italic;
    margin-left: 10px;
    font-size: 14px;
}

/* Index page specific styles */
.page-description {
    font-family: Poppins;
    font-size: 22.4px;
    font-style: normal;
    font-weight: 300;
    color: var(--dark-text);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* Button container and wrapper */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.action-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background-color: hsla(207.4, 88.72%, 61.76%, 1);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(80, 172, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 15px 30px;
    gap: 12px;
    cursor: pointer;
}

.action-button:hover {
    background-color: #3D9EF5;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(80, 172, 255, 0.3);
}

.action-button i {
    font-size: 24px;
    color: white;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.action-button:hover i {
    transform: scale(1.1);
}

/* PDF table styles */
.pdf-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

.pdf-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.pdf-table th {
    background-color: #f2f2f2;
    padding: 12px 15px;
    text-align: center;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.pdf-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #666;
    text-align: center;
}

.pdf-table tr:last-child td {
    border-bottom: none;
}

.pdf-table tr:hover {
    background-color: #f9f9f9;
}

.pdf-action-icon {
    color: #50ACFF;
    cursor: pointer !important;
    transition: color 0.2s;
    font-size: 24px;
    margin: 0 8px;
    display: inline-block;
    position: relative;
}

.pdf-action-icon:hover {
    color: #3D9EF5;
}

.pdf-action-icon.delete {
    color: #e74c3c;
}

.pdf-action-icon.delete:hover {
    color: #c0392b;
}

.pdf-action-icon.edit {
    color: #f39c12;
}

.pdf-action-icon.edit:hover {
    color: #d35400;
}

.pdf-action-icon.disabled {
    color: #ccc !important;
    cursor: not-allowed !important;
}

.pdf-action-icon.disabled:hover {
    color: #ccc !important;
}

/* Empty state styles */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 100px;
    color: var(--light-purple);
    margin-bottom: 30px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 16px;
    color: var(--light-text);
    text-align: center;
    max-width: 450px;
    margin-bottom: 30px;
}

.empty-state-button {
    background-color: #50ACFF;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(80, 172, 255, 0.2);
}

.empty-state-button:hover {
    background-color: #3D9EF5;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(80, 172, 255, 0.3);
}

/* Privacy and Terms page specific styles */
.privacy-content,
.terms-content {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.privacy-content h2,
.terms-content h2 {
    font-size: 24px;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.privacy-content h2:first-child,
.terms-content h2:first-child {
    margin-top: 0;
}

.privacy-content p,
.terms-content p {
    margin-bottom: 20px;
    color: var(--dark-text);
}

.privacy-content ul,
.privacy-content ol,
.terms-content ul,
.terms-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-content li,
.terms-content li {
    margin-bottom: 10px;
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 10px 20px;
    }

    .action-button {
        width: 450px;
    }
}

@media (max-width: 992px) {
    header {
        flex-wrap: wrap;
    }

    .logo img {
        width: 300px;
        height: 110px;
    }

    .action-button {
        width: 350px;
        height: 180px;
        font-size: 22px;
    }

    .action-button i {
        font-size: 55px;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .footer-left,
    footer .footer-center,
    footer .footer-right {
        min-width: auto;
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .mobile-menu-toggle {
        display: block !important;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        z-index: 1000;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    /* Style for mobile nav header */
    nav.active .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px 0 15px 10px;
        margin-bottom: 0;
        position: relative;
        flex-shrink: 0;
    }

    .mobile-nav-logo img {
        width: 180px;
        height: auto;
        object-fit: contain;
        display: block;
    }

    /* Style for the close button - General - Keep this */
    .mobile-menu-close {
        color: #333;
        cursor: pointer;
        z-index: 1001;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 10px;
        font-size: 30px;
        padding: 10px;
    }

    /* Hide hamburger when menu is active (use .hidden class) */
    .mobile-menu-toggle.hidden {
        display: none;
    }

    nav ul {
        flex-direction: column;
        width: auto;
        gap: 0;
        margin-bottom: 0;
        margin-right: 0;
        flex-grow: 1;
        display: flex;
        justify-content: center;
    }

    nav li {
        width: auto;
        margin-bottom: 0;
    }

    nav a {
        display: block;
        padding: 0;
        font-size: 32px;
        font-weight: 400;
        color: var(--dark-text);
        text-align: center;
        border-bottom: none;
    }

    nav a.active {
        color: var(--secondary-color);
        border-bottom: none;
        pointer-events: none;
    }

    /* Mobile dropdown adjustments */
    nav li.dropdown {
        position: relative;
        text-align: center;
    }

    nav li.dropdown>a::after {
        content: ' \203A';
        display: inline-block;
        margin-left: 5px;
    }

    nav .dropdown-menu {
        position: static;
        transform: none;
        left: auto;
        display: none;
        box-shadow: none;
        padding: 10px 0 0 0;
        margin: 0;
        background: transparent;
        min-width: auto;
        width: 100%;
        text-align: center;
    }

    nav li.dropdown:hover .dropdown-menu {
        display: none;
    }

    nav li.dropdown.show .dropdown-menu {
        display: block;
    }

    nav .dropdown-menu li {
        margin-bottom: 0;
    }

    nav .dropdown-menu a {
        padding: 8px 10px;
        font-size: 20px;
        text-align: center;
    }

    .nav-right {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 0;
        padding-bottom: 20px;
        flex-shrink: 0;
    }

    /* Hide user info explicitly in mobile nav */
    nav.active .user-info {
        display: none !important;
    }

    .user-info {
        /* display: none; */
    }

    .nav-button {
        padding: 15px 40px;
        font-size: 18px;
        width: auto;
        max-width: 80%;
    }

    .page-title {
        font-size: 32px;
    }

    .button-container {
        gap: 30px;
        display: flex;
        justify-content: center;
    }

    .action-button {
        width: 60%;
        max-width: 400px;
        height: 160px;
        font-size: 20px;
        margin: 0 auto;
    }

    .account-container {
        padding: 20px;
    }

    .account-option {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-option-label {
        margin-bottom: 10px;
    }

    .pdf-table th,
    .pdf-table td {
        padding: 12px 10px;
        vertical-align: middle;
    }

    .pdf-table td:last-child {
        min-width: 100px;
        text-align: center;
    }

    .pdf-action-icon {
        margin: 4px;
        padding: 5px 0;
        font-size: 22px;
    }

    .empty-state i {
        font-size: 70px;
    }

    .empty-state h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .logo img {
        width: 240px;
        height: 90px;
    }

    .page-title {
        font-size: 28px;
    }

    .action-button {
        width: 60%;
        height: 140px;
    }

    .action-button i {
        font-size: 45px;
        margin-bottom: 15px;
    }

    .action-button span {
        text-align: center;
        padding: 0 10px;
    }

    .modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }

    .pdf-table {
        font-size: 14px;
    }

    .pdf-action-icon {
        font-size: 20px;
        margin: 3px;
        padding: 4px 0;
    }

    .pdf-table td:last-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px 5px;
    }

    .privacy-content,
    .terms-content {
        padding: 20px;
    }
}

/* If you want to keep certain columns left-aligned (optional), target them specifically */
.pdf-table td:nth-child(2) {
    text-align: left;
}

/* Adjust button container */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Media queries adjustments for the button */
@media (max-width: 992px) {
    .action-button {
        font-size: 16px;
        padding: 12px 25px;
    }

    .action-button i {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .button-container {
        gap: 20px;
    }

    .action-button {
        width: auto;
        max-width: none;
        height: auto;
        font-size: 16px;
        margin: 0 auto;
        padding: 12px 20px;
    }

    .action-button i {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .action-button {
        width: auto;
        height: auto;
        padding: 10px 18px;
        font-size: 14px;
    }

    .action-button i {
        font-size: 18px;
        margin-bottom: 0;
    }

    .action-button span {
        padding: 0;
    }
}

/* Demo limit message styles */
.demo-limit-message {
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    display: none;
    margin-top: 15px;
    color: #d9534f;
    font-size: 0.9em;
    text-align: center;
    width: 100%;
}

.action-button.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.demo-limit-message a.upgrade-link {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
}

.demo-limit-message a.upgrade-link:hover {
    text-decoration: underline;
}

/* Styles for the mobile menu elements - Hide by default */
.mobile-menu-header {
    display: none;
    /* Hide the mobile header container by default */
}

.mobile-menu-close {
    display: none;
    /* Hide the close button by default */
}

/* Default style for the mobile toggle - hidden on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Styles for the mobile menu elements - Hide by default */
.mobile-menu-header {
    display: none;
    /* Hide the mobile header container by default */
}

.mobile-menu-close {
    display: none;
    /* Hide the close button by default */
}

/* Lo
gin Section Styles */
.login-prompt {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.login-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.login-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.login-option:hover {
    border-color: #50ACFF;
    box-shadow: 0 4px 12px rgba(43, 57, 144, 0.1);
}

.login-option-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.login-option-header i {
    font-size: 24px;
    /* color: #2B3990; */
}

.login-option-header h3 {
    /* color: #2B3990; */
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.login-option p {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 14px;
}

.login-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.login-button.primary {
    background: #50ACFF;
    color: white;
}

.login-button.primary:hover {
    background: #3D9EF5;
    transform: translateY(-2px);
}

.login-button.secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.login-button.secondary:hover {
    background: #e5e7eb;
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.patient-login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2B3990;
}

.otp-group input {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
}

.resend-group {
    text-align: center;
    margin-top: 10px;
}

.resend-group p {
    color: #6b7280;
    font-size: 12px;
    margin: 0;
}

.link-button {
    background: none;
    border: none;
    color: #2B3990;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
}

.link-button:hover {
    color: #1e2a6b;
}

/* Loading Modal */
.loading-modal {
    text-align: center;
    padding: 40px;
    max-width: 300px;
}

.loading-spinner {
    margin-bottom: 20px;
}

.loading-spinner i {
    font-size: 32px;
    color: #2B3990;
}

.loading-modal p {
    color: #374151;
    font-size: 16px;
    margin: 0;
}

/* Success/Error Messages */
.message {
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 12px;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Mobile Responsive for Login */
@media (max-width: 768px) {
    .login-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .login-option {
        padding: 25px 20px;
    }

    .login-option-header h3 {
        font-size: 18px;
    }

    .login-button {
        min-width: 100%;
        font-size: 14px;
    }

    .login-prompt {
        padding: 30px 15px;
    }
}

@media (max-width: 576px) {
    .login-option {
        padding: 20px 15px;
    }

    .login-option-header {
        flex-direction: column;
        gap: 8px;
    }

    .login-option-header h3 {
        font-size: 16px;
    }

    .login-button {
        padding: 10px 16px;
        font-size: 13px;
    }
}