
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: hsl(168, 80%, 32%);
    --primary-hover: hsl(168, 70%, 25%);
    --background: hsl(210, 20%, 98%);
    --foreground: hsl(220, 20%, 10%);
    --card: hsl(0, 0%, 100%);
    --muted: hsl(220, 10%, 45%);
    --border: hsl(210, 20%, 90%);
    --uae-pass: hsl(220, 60%, 25%);
    --shadow-card: 0 4px 24px -4px hsla(168, 60%, 20%, 0.08), 0 2px 8px -2px hsla(168, 60%, 20%, 0.04);
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(180deg, hsl(210, 20%, 98%) 0%, hsl(168, 30%, 95%) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 16px;
    position: relative;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo-icon {
    width: 150px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.header-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
}

.header-subtitle {
    font-size: 12px;
    color: var(--muted);
}

.lang-toggle {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

/* Main Container */
.main-container {
    display: flex;
    gap: 32px;
    max-width: 900px;
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(210, 220, 230, 0.5);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-card);
    animation: slideUp 0.6s ease-out;
}

.login-card {
    width: 100%;
    max-width: 400px;
}
.formpage-card {
    width: 100%;
    max-width: 800px;
}

.side-menu {
    width: 100%;
    max-width: 320px;
    padding: 24px;
    animation-delay: 0.1s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 32px;
}

.logo-icon {
    width: 64px;
    height: 64px;
  
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
}

.logo-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
}

.logo-subtitle {
    font-size: 14px;
    color: var(--muted);
}

.form-title {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 24px;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--foreground);
}

    label .required {
        color: hsl(0, 72%, 51%);
    }

input, select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    transition: all 0.2s;
}

    input:focus, select:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px hsla(168, 80%, 32%, 0.1);
    }

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
}

/* Buttons */
.btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px -2px hsla(168, 80%, 32%, 0.4);
}

    .btn-primary:hover {
        background: var(--primary-hover);
    }

.btn-uae-pass {
    background: var(--uae-pass);
    color: white;
}

    .btn-uae-pass:hover {
        background: hsl(220, 60%, 20%);
    }

    .btn-uae-pass img {
        height: 20px;
        filter: invert(1);
    }

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

    .divider span {
        padding: 0 12px;
        font-size: 12px;
        color: var(--muted);
        text-transform: uppercase;
    }

/* Links */
.forgot-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .forgot-links a, .signup-link a {
        color: var(--primary);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
    }

        .forgot-links a:hover, .signup-link a:hover {
            text-decoration: underline;
        }

.signup-link {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    margin-top: 20px;
}

/* Side Menu */
.menu-title {
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

    .menu-item:hover {
        background: hsla(168, 80%, 32%, 0.05);
        color: var(--primary);
    }

    .menu-item svg {
        width: 20px;
        height: 20px;
        color: var(--primary);
        opacity: 0.7;
    }

.support-box {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.support-card {
    background: hsla(168, 80%, 32%, 0.05);
    border-radius: 12px;
    padding: 16px;
}

.support-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.support-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.support-hours {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 768px) {
    .side-menu {
        display: block;
        width: 100%;
        max-width: 400px; /* SAME as login-card */
        padding: 24px;
    }
}
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    /* Active state */
    .modal-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

/* Modal Card */
.modal-card {
    width: 100%;
    max-width: 480px;
    padding: 32px;
    animation: modalScale 0.35s ease;
}

/* Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
}

/* Close Button */
.modal-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--muted);
}

    .modal-close:hover {
        color: var(--foreground);
    }

/* Body */
.modal-body {
    font-size: 14px;
    color: var(--muted);
}

/* Footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}
.tab-pane {
    display: none;
    margin-top: 15px;
}

    .tab-pane.active {
        display: block;
    }

/* Animation */
@keyframes modalScale {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

