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

:root {
    --primary: #E85D04;
    --primary-dark: #D45103;
    --primary-light: #F48C06;
    --secondary: #1A1A1A;
    --dark: #0D0D0D;
    --yellow: #FECC00;
    --green: #38A169;
    --gray-100: #f7f7f7;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161
}

html {
    scroll-behavior: smooth;
    transition: all .3s
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--gray-100);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    transition: all .3s
}

body::before {
    content: 'JUMBOTECH';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(0, 0, 0, .02);
    white-space: nowrap;
    pointer-events: none
}

/* TOP BAR, HEADER, and RTL sections removed to inherit from style.css */

/* AUTH CONTAINER */
.auth-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1
}

.auth-container {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 600px;
    position: relative;
    width: 100%;
    transition: transform .5s ease-in-out;
    margin: 0 auto
}

/* RTL Animation */
[dir="rtl"] .auth-container {
    /* transform: scaleX(-1) removed to fix mirroring issue */
}

[dir="rtl"] .auth-brand,
[dir="rtl"] .auth-forms {
    /* transform: scaleX(-1) removed to fix mirroring issue */
}

/* LEFT SIDE - BRANDING */
.auth-brand {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 50px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all .5s
}

.auth-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 120%;
    height: 200%;
    background: rgba(255, 255, 255, .05);
    transform: rotate(-20deg);
    pointer-events: none
}

.brand-header {
    position: relative;
    z-index: 1
}

.brand-logo {
    height: 40px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1)
}

.brand-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px
}

.brand-subtitle {
    font-size: 15px;
    opacity: .9;
    line-height: 1.6
}

.brand-features {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.brand-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeInLeft .6s forwards
}

.brand-feature:nth-child(1) {
    animation-delay: .2s
}

.brand-feature:nth-child(2) {
    animation-delay: .4s
}

.brand-feature:nth-child(3) {
    animation-delay: .6s
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.brand-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0
}

.brand-feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px
}

.brand-feature-text p {
    font-size: 12px;
    opacity: .8
}

/* RIGHT SIDE - FORMS */
.auth-forms {
    padding: 50px 40px;
    position: relative;
    transition: all .5s
}

.form-header {
    margin-bottom: 35px
}

.form-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px
}

.form-subtitle {
    font-size: 14px;
    color: var(--gray-600)
}

.form-subtitle a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all .3s
}

.form-subtitle a:hover {
    color: var(--primary-dark)
}

/* FORM ELEMENTS */
.form-group {
    margin-bottom: 20px
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px
}

.form-input-wrapper {
    position: relative
}

.form-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 16px;
    transition: color .3s
}

.form-input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: all .3s;
    background: #fff
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(232, 93, 4, .1)
}

.form-input:focus~i {
    color: var(--primary)
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    cursor: pointer;
    font-size: 16px;
    transition: color .3s;
    z-index: 2
}

.password-toggle:hover {
    color: var(--primary)
}

/* RTL Form Elements */
[dir="rtl"] .form-input-wrapper i {
    left: auto;
    right: 15px
}

[dir="rtl"] .form-input {
    padding: 14px 45px 14px 15px
}

[dir="rtl"] .password-toggle {
    right: auto;
    left: 15px
}

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

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer
}

.form-checkbox input {
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: var(--primary)
}

.form-checkbox label {
    cursor: pointer;
    color: var(--gray-700)
}

.form-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color .3s
}

.form-link:hover {
    color: var(--primary-dark)
}

.form-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(232, 93, 4, .3)
}

.form-btn:active {
    transform: translateY(-1px)
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    font-size: 13px;
    color: var(--gray-500)
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-300)
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px
}

.social-btn {
    padding: 12px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    background: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-700)
}

.social-btn:hover {
    border-color: var(--primary);
    background: var(--gray-100);
    transform: translateY(-2px)
}

.social-btn i {
    font-size: 18px
}

.social-btn.google i {
    color: #DB4437
}

.social-btn.facebook i {
    color: #4267B2
}

/* ERROR MESSAGES */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block
}

.form-input.error {
    border-color: #dc3545
}

.form-input.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, .1)
}

/* SUCCESS MESSAGES */
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb
}

/* FOOTER section removed to inherit from style.css */

/* RESPONSIVE */
@media(max-width:768px) {
    /* Header responsive styles removed to inherit */

    .auth-wrapper {
        padding: 20px 15px;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 200px)
    }

    .auth-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .2)
    }

    .auth-brand {
        display: none
    }

    .auth-forms {
        padding: 40px 30px;
        width: 100%
    }

    .social-login {
        grid-template-columns: 1fr
    }

    [dir="rtl"] .auth-container {
        transform: none
    }

    /* Footer responsive styles removed to inherit */
}

@media(max-width:480px) {
    .auth-wrapper {
        padding: 15px 10px;
        min-height: calc(100vh - 150px)
    }

    .auth-container {
        min-height: auto;
        border-radius: 16px
    }

    .auth-forms {
        padding: 30px 20px
    }

    .form-title {
        font-size: 24px
    }

    .form-subtitle {
        font-size: 13px
    }

    .form-group {
        margin-bottom: 18px
    }

    .form-input {
        padding: 12px 12px 12px 40px;
        font-size: 14px
    }

    .form-btn {
        padding: 14px;
        font-size: 14px
    }

    .social-btn {
        padding: 10px;
        font-size: 12px
    }

    /* Footer responsive styles removed to inherit */
}