.login-section {
    position: relative;
    padding: 50px 0;
    background: linear-gradient(rgba(18,18,18,0.75), rgba(18,18,18,0.75)), url("../images/soccer/arena-img.jpg") no-repeat center center;
    background-size: cover;
    min-height: calc(100vh - 400px);
    overflow: hidden;
}

.login-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.75) 80%);
    pointer-events: none;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.login-container {
    background: #1e1e1e;
    padding: 40px;
    border-radius: 0px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .control-label {
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 8px;
    display: block;
    font-size: 13px;
    text-transform: uppercase;
}

.login-form .form-control {
    border: 1px solid #2c2c2c;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 14px;
    height: auto;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    background: #141414;
    color: #f5f5f5;
}

.login-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.login-form .form-control:focus {
    border-color: #a34cd9;
    box-shadow: 0 0 0 0.2rem rgba(163, 76, 217, 0.22);
    outline: none;
}

.login-form .form-control.is-invalid {
    border-color: #dc3545;
}

.login-form .form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.login-form .invalid-feedback {
    display: block;
    color: #ff8a8a;
    font-size: 12px;
    margin-top: 5px;
}

.btn-custom-purple {
    background: linear-gradient(135deg, #7f3bb8 0%, #a34cd9 100%);
    border: none;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 14px 30px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 0px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}

.btn-custom-purple:hover {
    background: linear-gradient(135deg, #732fb6 0%, #8f39c8 100%);
    box-shadow: 0 10px 25px rgba(127, 59, 184, 0.25);
}

.btn-custom-purple:active,
.btn-custom-purple:focus {
    background: linear-gradient(135deg, #60289f 0%, #7d33b8 100%);
    outline: none;
}


.login-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2c2c2c;
}

.login-footer p {
    margin: 10px 0;
    font-size: 13px;
    color: #dcdcdc;
}

.register-link {
    color: #b76bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #9d4ae8;
    text-decoration: underline;
}

.alert {
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-danger {
    background: #3d1c24;
    border: 1px solid #612d3d;
    color: #f3b2b6;
}

.alert-danger .close {
    color: #f3b2b6;
}

.alert-success {
    background: #1f3724;
    border: 1px solid #3f5f3a;
    color: #b8e8b0;
}

.alert-success .close {
    color: #b8e8b0;
}

@media (max-width: 768px) {
    .login-container {
        padding: 30px 20px;
    }

    .login-form .control-label {
        font-size: 12px;
    }

    .btn-custom-purple {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 25px 15px;
    }

    .login-footer {
        margin-top: 20px;
        padding-top: 15px;
    }
}