* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* Fullscreen Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Dark gradient overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* GLASSMORPHISM AUTH CARD                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */
.auth-card {
    width: 100%;
    max-width: 480px;
    margin: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 50px 45px;
    position: relative;
    z-index: 10;
}

/* Logo in card */
.card-logo {
    text-align: center;
    margin-bottom: 10px;
}

.card-logo i {
    font-size: 48px;
    color: #dd4b39;
    margin-bottom: 15px;
    display: block;
}

.card-logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a252f;
    margin-bottom: 8px;
}

.card-logo p {
    font-size: 14px;
    color: #666;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* BRANDING OVERLAY (Top Left)                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */
.brand-overlay {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 5;
    color: #fff;
}

.brand-overlay .logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.brand-overlay .tagline {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* FEATURE CARDS (Desktop - Left Side)                                          */
/* ═══════════════════════════════════════════════════════════════════════════ */
.features-overlay {
    position: fixed;
    top: 40%;
    left: 40px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    padding: 18px 24px;
    border-radius: 16px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 320px;
}

.feature-card .icon {
    width: 48px;
    height: 48px;
    background: rgb(255 255 255 / 20%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card .icon i {
    color: #FFFFFF;
    font-size: 20px;
}

.feature-card .text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.feature-card .text p {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.4;
}

/* Mobile Features (below card) */
.mobile-features {
    display: none;
    margin-top: 30px;
    padding: 0 15px;
}

.mobile-features h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-features .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.mobile-feature i {
    font-size: 24px;
    color: #dd4b39;
    margin-bottom: 8px;
    display: block;
}

.mobile-feature span {
    font-size: 11px;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* FORM STYLES                                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */
.form-panel {
    width: 100%;
    padding: 0;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 8px;
}

.form-header p {
    color: #888;
    font-size: 14px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: #f4f6f9;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    border: none;
    background: none;
    font-size: 14px;
}

.auth-tab.active {
    background: #fff;
    color: #3c8dbc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-tab:hover:not(.active) {
    color: #333;
}

/* Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #dd4b39;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 42px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #3c8dbc;
    box-shadow: 0 0 0 3px rgba(60, 141, 188, 0.1);
}

.input-wrapper .toggle-password {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 14px;
}

.input-wrapper .toggle-password:hover {
    color: #666;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.remember-me input {
    width: 16px;
    height: 16px;
    accent-color: #dd4b39;
}

.forgot-link {
    font-size: 13px;
    color: #000000;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1da10c 0%, #14af00 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 161, 12, 0.4);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #999;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 15px;
}

/* Social Login */
.social-login {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s;
}

.social-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.social-btn.google i {
    color: #dd4b39;
}

.social-btn.facebook i {
    color: #1877f2;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.form-footer a {
    color: #3c8dbc;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Terms Checkbox */
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
}

.terms-check input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #3c8dbc;
}

.terms-check a {
    color: #3c8dbc;
}

/* Back Link */
.back-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: #fff;
}