/* Custom Stylesheet for HM Login by ASJ */

/* Main Wrapper */
.hm-login-wrapper {
    width: 100%;
    max-width: 1050px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a202c;
    -webkit-font-smoothing: antialiased;
}

/* Layout Grid Container */
.hm-login-container {
    display: flex;
    gap: 40px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f4f8;
}

/* Sidebar Styling */
.hm-login-sidebar {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hm-login-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
    letter-spacing: -0.3px;
}

/* Tabs list styling */
.hm-login-tabs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hm-login-tab-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.25s ease-in-out;
    box-sizing: border-box;
}

.hm-login-tab-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Tab Icon styling */
.hm-tab-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.hm-login-tab-item:hover .hm-tab-icon-wrapper {
    transform: scale(1.05);
}

/* Colors for Tab Icons */
.contractor-bg {
    background-color: #0b69c5;
}
.client-bg {
    background-color: #0b69c5;
}
.onboard-bg {
    background-color: #0e9f6e;
}
.event-bg {
    background-color: #7e3af2;
}

.hm-tab-icon {
    width: 18px;
    height: 18px;
}

.hm-tab-text {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    transition: color 0.2s ease;
}

/* Active State Styling */
.hm-login-tab-item.active {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.06);
}

.hm-login-tab-item.hm-tab-client.active {
    border: 2px solid #2563eb;
    background-color: #f0f6ff;
}

.hm-login-tab-item.hm-tab-client.active .hm-tab-text {
    color: #1d4ed8;
}

.hm-login-tab-item.hm-tab-event.active {
    border: 2px solid #7e3af2;
    background-color: #faf5ff;
}

.hm-login-tab-item.hm-tab-event.active .hm-tab-text {
    color: #6b21a8;
}

/* Disabled State styling */
.hm-login-tab-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Sidebar Info Card notice */
.hm-login-info-card {
    background-color: #f0f7ff;
    border: 1px solid #e0f2fe;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.hm-info-header {
    color: #2563eb;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.hm-info-icon {
    width: 20px;
    height: 20px;
}

.hm-info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hm-info-list li {
    font-size: 13px;
    line-height: 1.5;
    color: #1e3a8a;
    font-weight: 500;
}

/* Content Area styling */
.hm-login-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #f1f5f9;
    padding-left: 40px;
}

/* Card General Styling */
.hm-form-card, .hm-redirect-card, .hm-logged-in-view {
    width: 100%;
    max-width: 500px;
    display: none;
}

.hm-form-card.active, .hm-redirect-card.active, .hm-logged-in-view.active {
    display: block;
}

/* Form Header */
.hm-form-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hm-form-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* Dynamic active header icon background colors */
.hm-form-icon-wrapper.client-active {
    background-color: #2563eb;
}

.hm-form-icon-wrapper.event-active {
    background-color: #7e3af2;
}

.hm-form-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hm-form-main-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.hm-form-sub-title {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Input Fields styling */
.hm-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hm-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hm-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.hm-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    color: #0f172a;
    background-color: #f8fafc;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.hm-input-group input::placeholder {
    color: #94a3b8;
}

.hm-input-group input:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Alert Notification */
.hm-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.5;
    animation: slideDown 0.3s ease-out;
}

.hm-alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
}

.hm-alert-success {
    background-color: #f0fdf4;
    border: 1px solid #dcfce7;
    color: #15803d;
}

/* Custom Checkbox */
.hm-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hm-remember-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    user-select: none;
}

.hm-remember-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.hm-remember-checkbox:hover input ~ checkmark {
    border-color: #94a3b8;
}

.hm-remember-checkbox input:checked ~ checkmark {
    background-color: #2563eb;
    border-color: #2563eb;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.hm-remember-checkbox input:checked ~ checkmark:after {
    display: block;
}

.hm-remember-checkbox .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Login Button */
.hm-login-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.btn-primary {
    background-color: #1a73e8;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #155cb4;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

/* Lost Password Link */
.hm-form-footer {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.hm-lost-password-link {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hm-lost-password-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Redirecting Card design */
.hm-redirect-card {
    text-align: center;
    padding: 40px 20px;
}

.hm-redirect-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background-color: #e6fffa;
    color: #0d9488;
    border-radius: 50%;
    margin-bottom: 24px;
}

.hm-redirect-arrow {
    animation: arrowMove 1.5s infinite ease-in-out;
    position: relative;
    z-index: 2;
}

.hm-redirect-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #0d9488;
    opacity: 0.15;
    animation: ripple 1.8s infinite ease-out;
    z-index: 1;
}

.hm-redirect-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.hm-redirect-desc {
    font-size: 15px;
    color: #475569;
    margin: 0;
}

/* Logged In View details */
.hm-logged-in-view {
    text-align: center;
    padding: 30px 20px;
}

.hm-logged-in-avatar {
    margin-bottom: 20px;
}

.hm-logged-in-avatar img {
    border-radius: 50%;
    border: 4px solid #f1f5f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hm-logged-in-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.hm-logged-in-desc {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 30px 0;
}

.hm-logged-in-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hm-logged-in-actions .hm-login-btn {
    max-width: 280px;
    text-decoration: none;
}

.hm-logout-link {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hm-logout-link:hover {
    color: #ef4444;
    text-decoration: underline;
}

/* Loading button spinner */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: rotateSpinner 0.8s linear infinite;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes arrowMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

@keyframes ripple {
    0% { transform: scale(0.95); opacity: 0.2; }
    50% { opacity: 0.15; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes rotateSpinner {
    to { transform: rotate(360deg); }
}

/* Responsive Stacking - Tablet / Mobile */
@media (max-width: 768px) {
    .hm-login-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }

    .hm-login-sidebar {
        flex: 1;
    }

    .hm-login-content {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        padding-top: 30px;
    }
}

/* ==========================================
   Quadrant Coordinate-Style Layout Custom CSS
   ========================================== */


.hm-quadrant-login-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 25px auto;
    padding: 24px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
}

/* Centered Main Title */
.hm-quadrant-main-title {
    display: none;
}

/* Grid Coordinates Layout */
.hm-quadrant-grid-container {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.hm-quadrant-grid-container.active-grid {
    display: block;
    opacity: 1;
}

.hm-quadrant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

/* Axis lines behind cards for light theme grid */
.hm-quadrant-grid::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(0, 0, 0, 0.06);
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.hm-quadrant-grid::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

/* Coordinates floating cards */
.hm-quadrant-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: none;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   Option 2 Design: Solid Coordinates Block
   ========================================== */

.hm-quadrant-login-wrapper.theme-opt2 {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 30px auto;
}

.theme-opt2 .hm-quadrant-grid {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
    border-top: 5px solid #2563eb;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Remove axis pseudo lines for Option 2 */
.theme-opt2 .hm-quadrant-grid::before,
.theme-opt2 .hm-quadrant-grid::after {
    display: none;
}

.theme-opt2 .hm-quadrant-card {
    background-color: #f8fafc;
    border: none;
    padding: 22px 16px;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 2;
    transition: all 0.25s ease-in-out;
}

/* Standard solid cross-borders for Option 2 */
.theme-opt2 .hm-quadrant-card.q1 {
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.theme-opt2 .hm-quadrant-card.q2 {
    border-bottom: 1px solid #e2e8f0;
}

.theme-opt2 .hm-quadrant-card.q3 {
    border-right: 1px solid #e2e8f0;
}

.theme-opt2 .hm-quadrant-card:hover {
    transform: none;
    background-color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.05);
}

.hm-quadrant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
}



/* Card content details */
.q-content-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.q-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.q-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.hm-quadrant-card:hover .q-icon-wrapper {
    transform: scale(1.08) translateY(-2px);
}

/* Icon Colors matching mockup */
.blue-icon {
    background-color: #eff6ff;
    color: #2563eb;
}
.green-icon {
    background-color: #f0fdf4;
    color: #16a34a;
}
.purple-icon {
    background-color: #faf5ff;
    color: #7e3af2;
}
.orange-icon {
    background-color: #fff7ed;
    color: #ea580c;
}

.q-title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.q-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 15px 0;
    max-width: 250px;
    line-height: 1.5;
    min-height: 36px; /* standard height alignment */
}

/* Button stylings */
.q-btn {
    border: none;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    background-color: #2563eb;
    color: #ffffff;
}

.q-btn:hover {
    transform: translateY(-1px);
}

.btn-blue {
    background-color: #2563eb;
}
.btn-blue:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-green {
    background-color: #2563eb; /* Matches button style in mockup */
}
.btn-green:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-purple {
    background-color: #2563eb; /* Matches button style in mockup */
}
.btn-purple:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-orange {
    background-color: #2563eb; /* Matches button style in mockup */
}
.btn-orange:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.external-icon {
    display: inline-block;
    vertical-align: middle;
}

.q-subtext {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 10px;
    font-style: italic;
}

/* Hover effects for coordinate grid cards */
.hm-quadrant-card:hover {
    background-color: #fafbfc;
}

/* Forms Section Styling */
.hm-quadrant-forms-container {
    width: 100%;
}

.hm-quadrant-form-card {
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f6;
    padding: 35px 40px 40px 40px;
    position: relative;
}

.hm-form-top-nav {
    margin-bottom: 20px;
}

.hm-back-to-landing-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hm-back-to-landing-btn:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.hm-form-header-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.centered-form-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
}

.form-centered-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.form-centered-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Input password positioning */
.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    padding-right: 48px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: color 0.2s ease;
}

.password-toggle-btn:hover {
    color: #475569;
}

/* Submit button details */
.q-submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-size: 15px;
    text-transform: uppercase;
}

/* Redirect overlay for quadrant loaders */
.hm-quadrant-redirect-overlay {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f6;
    padding: 60px 40px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive grid modifications */
@media (max-width: 768px) {
    .hm-quadrant-login-wrapper {
        padding: 25px 15px;
        margin: 15px auto;
    }
    
    .hm-quadrant-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hm-quadrant-grid::before,
    .hm-quadrant-grid::after {
        display: none;
    }
    
    .hm-quadrant-card {
        margin: 0;
        padding: 30px 20px;
    }
}

/* ==========================================
   Dark coordinate layout styling
   ========================================== */

.hm-quadrant-login-wrapper.theme-dark {
    background: radial-gradient(circle at 20% 20%, #1e3155 0%, #0d1522 100%);
    padding: 60px 40px 40px 40px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.theme-dark .hm-quadrant-main-title {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    text-align: center;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.theme-dark .hm-quadrant-subtitle {
    display: block;
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Floating cards grid */
.theme-dark .hm-quadrant-grid {
    background: transparent;
    border: none;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    padding: 10px 0;
    overflow: visible;
}

/* Axis lines behind cards */
.theme-dark .hm-quadrant-grid::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.theme-dark .hm-quadrant-grid::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

/* Dark theme cards */
.theme-dark .hm-quadrant-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 40px 30px;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-dark .hm-quadrant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    background-color: #ffffff;
}

/* Custom dark button styles */
.theme-dark .btn-dark-blue {
    background-color: #0a2540;
    color: #ffffff;
    border: none;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.theme-dark .btn-dark-blue:hover {
    background-color: #081d33;
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.3);
}

.theme-dark .btn-blue {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.theme-dark .btn-blue:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.theme-dark .btn-light-blue {
    background-color: #60a5fa;
    color: #ffffff;
    border: none;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.theme-dark .btn-light-blue:hover {
    background-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

/* Info banner at bottom */
.theme-dark .hm-quadrant-info-banner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    box-sizing: border-box;
}

.theme-dark .hm-quadrant-info-banner .info-icon {
    color: #60a5fa;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.theme-dark .hm-quadrant-info-banner .info-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #cbd5e1;
    font-weight: 500;
}

/* Forms container overrides for dark layout */
.theme-dark .hm-quadrant-forms-container {
    padding: 20px 0;
}

.theme-dark .hm-quadrant-form-card {
    background: #ffffff;
    border: none;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

/* Stacking for tablet/mobile */
@media (max-width: 768px) {
    .hm-quadrant-login-wrapper.theme-dark {
        padding: 40px 20px 20px 20px;
    }
    
    .theme-dark .hm-quadrant-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .theme-dark .hm-quadrant-grid::before,
    .theme-dark .hm-quadrant-grid::after {
        display: none;
    }
    
    .theme-dark .hm-quadrant-card {
        padding: 35px 20px;
        margin: 0;
    }
}
