/* Change Autocomplete styles in Chrome */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    -webkit-text-fill-color: #8fd3ff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(20, 33, 39, 0.75) inset !important;
    transition: background-color 5000s ease-in-out 0s;
    padding-right: 10px !important;
}

/* Background like React */
.body-login {
    background:
        radial-gradient(circle at center center,
            rgba(20, 33, 39, 0) 0%,
            rgba(20, 33, 39, 0.35) 12%,
            #142127 58%,
            #142127 100%
        ),
        url(../../assets/images/amidtile.jpg) repeat;
    background-size: auto, 130px auto;
    min-height: 100vh;
}

/* Card (glass) */
.modern-auth-card {
   
}

/* Tabs modern */
.modern-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    gap: 8px;
}

.modern-tabs .nav-link {
    border: none !important;
    color: rgba(255, 255, 255, 0.65) !important;
    background: transparent !important;
    border-radius: 10px !important;
    padding: 5px 5px !important;
    font-weight: 400;
    /* transition: all 0.25s ease; */
}

.modern-tabs .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.modern-tabs .nav-link.active {
    color: #1792dfea !important;
    background: rgba(200, 200, 200, 0.208) !important;
    box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.15) inset;
}

/* Input group modern like React */
.modern-input-group {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.25s ease;
}

.modern-input-group:focus-within {
    border-color: rgba(74, 108, 247, 0.7);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.modern-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #8fd3ff !important;
    font-size: 0.98rem;
}

.modern-input::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.input-group-text {
    border: none !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Eye button position */
.modern-eye-btn {
    width: 42px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
}

.modern-eye-btn i {
    font-size: 18px;
}

/* Login button like React gradient */
.modern-login-btn {
    background: linear-gradient(135deg, #042197 0%, #3b5bdb 100%) !important;
    border: none !important;
    box-shadow: 0 6px 14px rgba(74, 108, 247, 0.25);
    transition: all 0.30s ease;
    font-weight: 500;
}

.modern-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(74, 108, 247, 0.28);
    background: linear-gradient(135deg, #3b5bdb 0%, #2f4fd9 100%) !important;
}

/* Links */
a.text-primary,
.text-primary {
    color: #9cd9ff !important;
}

.text-info {
    color: #8fd3ff !important;
}

/* Validation feedback align with dark background */
.form-text,
.text-muted {
    color: rgba(255, 255, 255, 0.55) !important;
}

.invalid-feedback
 {
    color: rgba(255, 29, 44, 0.453) !important;
}

.invalid-feedback {
    font-size: 0.82rem;
}

/* Feature items like React */
.modern-feature-item {
    transition: all 0.25s ease;
}

.modern-feature-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border-color: rgba(74, 108, 247, 0.55);
    background: rgba(255, 255, 255, 0.04);
}

/* Alerts */
.modern-alert {
    background: rgba(74, 108, 247, 0.12) !important;
    border: 1px solid rgba(74, 108, 247, 0.28) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Card spacing on mobile */
@media (max-width: 768px) {
    .modern-auth-card .card-body {
        padding: 1.25rem !important;
    }
}
