.login-form {
    /*width: 600px !important;*/
    width: 20rem;
    max-width: 100%;
}

.login-form .card {
    border: 0;
    box-shadow: none !important;
}

.login-form .card-body {
    padding: 2.5rem;
}

.login-form .form-control-lg {
    border-radius: 0.375rem;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    height: calc(1.5em + 1.5rem + 2px);
}

.login-form .form-group-feedback .form-control-feedback {
    line-height: calc(1.5em + 1.5rem + 2px);
    height: calc(1.5em + 1.5rem + 2px);
    display: flex;
    align-items: center;
}

.login-form .form-group-feedback .form-control-feedback i {
    line-height: 1;
}

.login-form .btn-lg {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
}

body.login-cover {
    background: #f1f4f9;
}

.login-form {
    width: 420px;
    max-width: 100%;
}

/* Transparent card - simplified approach */
.card-transparent {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.5rem;
    box-shadow: none;
}

.card-transparent .card-body {
    padding: 2.5rem;
}

/* Form controls styling - black text with light background */
.card-transparent .form-control {
    color: #333 !important;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    height: calc(1.5em + 1.5rem + 2px);
}

.card-transparent .form-control:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #333 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.card-transparent .form-control::placeholder {
    color: #666 !important;
}

.card-transparent .form-control:-webkit-autofill,
.card-transparent .form-control:-webkit-autofill:hover,
.card-transparent .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #333 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Form feedback styling - darker icons for better contrast */
.card-transparent .form-group-feedback .form-control-feedback {
    line-height: calc(1.5em + 1.5rem + 2px);
    height: calc(1.5em + 1.5rem + 2px);
    display: flex;
    align-items: center;
}

.card-transparent .form-group-feedback .form-control-feedback i {
    line-height: 1;
    color: #666 !important;
}

/* Button styling */
.card-transparent .btn-primary {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-transparent .btn-primary:hover {
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-transparent .btn-primary:focus {
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

/* Checkbox styling */
.card-transparent .form-check-input {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.card-transparent .form-check-input:checked {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.card-transparent .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

/* Alert styling */
.card-transparent .alert-danger {
    background: rgba(220, 53, 69, 0.8) !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
    color: white !important;
}

/* Text colors */
. {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Responsive */
@media (max-width: 576px) {
    .login-form {
        width: 90%;
        margin: 1rem;
    }

    .card-transparent .card-body {
        padding: 1.5rem;
    }
}
