﻿body {
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(13,110,253,0.85), rgba(111,66,193,0.85)), url('../img/loginbg.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 950px;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    margin: 0 auto;
}

.left-panel {
    background: linear-gradient(160deg, #0d6efd, #6f42c1);
    color: white;
    padding: 60px 45px;
    height: 100%;
    position: relative;
}

    .left-panel::before {
        content: '';
        position: absolute;
        width: 250px;
        height: 250px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        top: -80px;
        right: -80px;
    }

    .left-panel::after {
        content: '';
        position: absolute;
        width: 180px;
        height: 180px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
        bottom: -60px;
        left: -60px;
    }

.brand-logo {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
}

.welcome-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.welcome-text {
    opacity: 0.9;
    line-height: 1.7;
}

.right-panel {
    background: rgba(255,255,255,0.95);
    padding: 55px 45px;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.login-subtitle {
    color: #6b7280;
    margin-bottom: 35px;
}

.form-control {
    height: 54px;
    border-radius: 14px;
    border: 1px solid #dbe2ea;
    padding-left: 45px;
    font-size: 15px;
}

    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13,110,253,.15);
    }

.input-group-text {
    position: absolute;
    z-index: 10;
    height: 54px;
    border: none;
    background: transparent;
    color: #6b7280;
    padding-left: 16px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 22px;
}

.btn-login {
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    border: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(13,110,253,0.3);
    }

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    transition: 0.3s;
}

    .social-btn:hover {
        background: #f8f9fa;
        transform: translateY(-2px);
    }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #9ca3af;
    font-size: 14px;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

    .divider:not(:empty)::before {
        margin-right: .75em;
    }

    .divider:not(:empty)::after {
        margin-left: .75em;
    }

.forgot-link,
.signup-link {
    text-decoration: none;
    font-weight: 500;
}

    .forgot-link:hover,
    .signup-link:hover {
        text-decoration: underline;
    }

@media (max-width: 991px) {
    .left-panel {
        display: none;
    }

    .right-panel {
        padding: 40px 25px;
    }
}

@media (max-width: 576px) {
    .login-title {
        font-size: 1.7rem;
    }

    .right-panel {
        padding: 35px 20px;
    }
}