html,
body {
    margin: 0;
    padding: 0;
    min-height: 120vh;
    font-family: "Segoe UI", sans-serif;
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    min-height: 120vh;
    background: rgba(0, 20, 60, 0.78);
    position: relative;
    inset: 0;
}

.top-logo {
    position: absolute;
    top: -52px;
    left: -50px;
    z-index: 1000;
}

.logo-image {
    width: auto;
    height: 420px;
}

.login-container {
    position: absolute;
    top: 37%;
    right: 260px;
    transform: translateY(-50%);
}

.login-card {
    width: 385px;
    background: rgba(255, 255, 255, 0.97);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.30);
}

.login-card h2 {
    text-align: center;
    color: #172554;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

.form-control {
    height: 55px;
    border-radius: 12px;
    padding-left: 15px;
}

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.options-row a {
    text-decoration: none;
    color: #2346b5;
    font-weight: 600;
}

.login-btn {
    height: 55px;
    border-radius: 12px;
    background: #2346b5;
    color: white;
    border: none;
    font-weight: 600;
}

.login-btn:hover {
    background: #1b3790;
    color: white;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #666;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 55px;
    height: 55px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    font-size: 18px;
}

.register-text {
    text-align: center;
    margin-top: 20px;
}

.register-text a {
    text-decoration: none;
    color: #2346b5;
    font-weight: 700;
}

.features {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 80px;
    color: white;
    text-align: center;
}

.feature {
    width: 220px;
    position: relative;
}

.feature:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 10px;
    width: 1px;
    height: 70px;
    background: rgba(255, 255, 255, 0.3);
}

.feature h5 {
    font-weight: 700;
}

.feature p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .top-logo {
        position: static;
        text-align: center;
        padding-top: 20px;
    }

    .logo-image {
        width: 180px;
    }

    .login-container {
        position: static;
        transform: none;
        padding: 20px;
    }

    .login-card {
        width: 100%;
    }

    .features {
        display: none;
    }
}