﻿:root {
    --primary: #ED7D31;
    --primary-dark: #E55A2B;
    --primary-light: #FF9B71;
    --secondary: #2E86AB;
    --dark: #1E2329;
    --darker: #161A1F;
    --light: #F8F9FA;
    --gray: #8D99AE;
    --success: #4CAF50;
    --warning: #FFC107;
    --danger: #E53935;
    --card-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow: 0 8px 24px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f9ff 0%, #e6f0ff 100%);
    color: #333;
    display: flex;
    min-height: 100vh;
    /*    overflow: hidden;*/
    transition: var(--transition);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.8s ease-out;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

    .login-left::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
    }

    .login-left::after {
        content: '';
        position: absolute;
        bottom: -80px;
        left: -80px;
        width: 250px;
        height: 250px;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
    }

input.text-upper-case {
    text-transform: uppercase;
}

    /* Keep placeholder normal case */
    input.text-upper-case::placeholder {
        text-transform: none;
    }


/*.logo {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    z-index: 2;
    animation: slideInLeft 0.8s ease-out;
    gap: 20px;
}*/

/*    .logo i {
        font-size: 3rem;
        margin-right: 15px;
        animation: pulse 2s infinite;
    }*/

/*    .logo h1 {
        font-size: 2.5rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        margin: 0;
    }*/


.logo {
    background: var(--primary);
    border-radius: 50px;
    padding:20px 60px;
}

    .logo h1 {
        font-size: 1.75rem !important;
        font-weight: 400;
        color: #fff !important;
    }



.features {
    margin: 30px 0;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
    animation: fadeIn 0.6s forwards;
    transform: translateX(-20px);
    opacity: 0;
}

    .feature-item:nth-child(1) {
        animation-delay: 0.2s;
    }

    .feature-item:nth-child(2) {
        animation-delay: 0.4s;
    }

    .feature-item:nth-child(3) {
        animation-delay: 0.6s;
    }

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.login-right {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

    .login-header img {
       margin-top:10px;
    }

    .login-header h2 {
        font-size: 2rem;
        color: var(--dark);
        margin-bottom: 10px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .login-header p {
        color: var(--gray);
        font-size: 1rem;
    }

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

    .form-group label {
        display: block;
        font-weight: 500;
        color: var(--dark);
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray);
        font-size: 1.1rem;
    }

.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e0e0e0;
    border-radius: var(--card-radius);
    font-size: 1rem;
    transition: var(--transition);
}

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255,107,53,0.2);
        outline: none;
    }

.options {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
    font-size: 0.95rem;
}

.remember-me {
    display: flex;
    align-items: center;
}

    .remember-me input {
        margin-right: 8px;
        accent-color: var(--primary);
    }

/*change passowrd title  style */

.forgot-password {
    padding: 0.3em 1em;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    text-decoration: none;
    border-radius: var(--card-radius);
    background: var(--primary);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

    .forgot-password .link-text {
        position: relative;
        z-index: 2;
    }


    .forgot-password:hover {
        color: var(--primary);
        transform: translateY(-3px) scale(1.05);
        text-decoration: none;
        background: var(--white);
        border: 1px solid var(--primary);
    }

/*change password title stye end */

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--card-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(255,107,53,0.4);
    }

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e0e0e0;
        z-index: 1;
    }

    .divider span {
        display: inline-block;
        padding: 0 15px;
        background: white;
        position: relative;
        z-index: 2;
        color: var(--gray);
    }

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e0e0e0;
    color: var(--gray);
    font-size: 1.2rem;
    transition: var(--transition);
}

    .social-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .social-btn.google:hover {
        background: #DB4437;
        color: white;
        border-color: #DB4437;
    }

    .social-btn.microsoft:hover {
        background: #0078D7;
        color: white;
        border-color: #0078D7;
    }

    .social-btn.github:hover {
        background: #333;
        color: white;
        border-color: #333;
    }

.register-link {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray);
}

    .register-link a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
    }

        .register-link a:hover {
            text-decoration: underline;
        }

.theme-control {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 15px;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 10;
}

.theme-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    background: transparent;
    color: var(--gray);
}

    .theme-btn.active, .theme-btn:hover {
        background: var(--primary);
        color: white;
        box-shadow: 0 0 12px rgba(255,107,53,0.4);
        transform: scale(1.05);
    }


    /* Animations */
    @keyframes fadeIn {
        from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

/* Theme Classes */
.theme-blue {
    --primary: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #64B5F6;
    --secondary: #03A9F4;
}

.theme-green {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #81C784;
    --secondary: #8BC34A;
}

.theme-purple {
    --primary: #9C27B0;
    --primary-dark: #7B1FA2;
    --primary-light: #BA68C8;
    --secondary: #673AB7;
}

.btn-sec {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}







/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        min-height: auto;
    }

    .login-left {
        padding: 30px;
        display: none;
    }

    .login-right {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .forgot-password {
        margin-left: 28px;
    }
}
