/**
 * Modern sleek login redesign (Dark Theme)
 */
.login-body {
    background: linear-gradient(135deg, #1e1e2f 0%, #11111a 100%);
    background-attachment: fixed;
    color: #e4e4e4;
}

.login-box {
    border-radius: 1rem;
    overflow: hidden;
    background-color: #27293d;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.5) !important;
}

.plat-logo img {
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}
.plat-logo img:hover {
    transform: scale(1.05);
}

.login-title {
    font-weight: 700;
    color: #e4e4e4;
    letter-spacing: 1px;
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3d3f56;
}

.form-floating > .form-control {
    border: 1px solid #3d3f56;
    border-radius: 0.5rem;
    background-color: #1e1e2f;
    padding-left: 1rem;
    color: #e4e4e4;
    font-weight: 500;
}

.form-floating > .form-control:focus {
    border-color: var(--admin-base-orange, #ff7e5f);
    background-color: #27293d;
    color: #e4e4e4;
    box-shadow: 0 0 0 0.25rem rgba(255, 126, 95, 0.15);
}

.form-floating > .form-control::placeholder {
    color: transparent;
}

.form-floating > label {
    padding-left: 1rem;
    color: #9d9db5;
    font-weight: 600;
}

/* Fix floating label overlapping */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--admin-base-orange, #ff7e5f);
    background-color: transparent;
}

.btn-login {
    background: linear-gradient(135deg, var(--admin-base-orange, #ff7e5f) 0%, #feb47b 100%);
    border: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 126, 95, 0.3) !important;
    background: linear-gradient(135deg, #ff6b4a 0%, #fea967 100%);
    color: #ffffff;
}

.btn-login:active {
    transform: translateY(0);
}

.login-message {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.plat-info {
    font-size: 0.85rem;
    opacity: 0.8;
}

.plat-info.text-muted {
    color: #9d9db5 !important;
}

/* Fix autofill styles to match modern dark look */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-text-fill-color: #e4e4e4 !important;
    -webkit-box-shadow: 0 0 0 30px #1e1e2f inset !important;
    border: 1px solid #3d3f56 !important;
}
