﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    display: flex;
    width: 90%;
    max-width: 1100px;
    height: 600px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.left-panel {
    flex: 1;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.85) 0%, rgba(37, 117, 252, 0.85) 100%), url('https://images.unsplash.com/photo-1522881193457-37ae97c905bf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.logo {
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

    .logo i {
        margin-right: 10px;
        font-size: 28px;
    }

.left-content {
    max-width: 400px;
    padding-top: 15px;
}

.left-panel h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.left-panel p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.features {
    list-style: none;
}

    .features li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }

    .features i {
        margin-right: 15px;
        font-size: 20px;
        color: #6a11cb;
        background: white;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.right-panel {
    flex: 1;
    padding: 50px;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .right-panel h2 {
        font-size: 2rem;
        color: #2d2b55;
        margin-bottom: 10px;
    }

    .right-panel p {
        color: #777;
        margin-bottom: 30px;
    }

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

    .social-btn:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
    color: #777;
}

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 42%;
        height: 1px;
        background: #ddd;
    }

    .divider::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 42%;
        height: 1px;
        background: #ddd;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #555;
        font-weight: 500;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #777;
    }

    .input-with-icon input {
        width: 100%;
        padding: 15px 15px 15px 45px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s;
    }

        .input-with-icon input:focus {
            border-color: #6a11cb;
            box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
            outline: none;
        }

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .remember input {
        width: 16px;
        height: 16px;
    }

.forgot {
    color: #6a11cb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

    .forgot:hover {
        text-decoration: underline;
    }

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .login-btn:hover {
        box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
        transform: translateY(-2px);
    }

.signup {
    text-align: center;
    margin-top: 30px;
    color: #777;
}

    .signup a {
        color: #6a11cb;
        text-decoration: none;
        font-weight: 600;
    }

        .signup a:hover {
            text-decoration: underline;
        }

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        height: auto;
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        padding: 30px;
    }
}


.back-login {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .back-login:hover {
        color: var(--primary-hover);
        text-decoration: underline;
    }
