/* admin-login.css */

.content-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('/gowsala/assets/images/resetbg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    background-position: center;
}

.popup_login {
    width: 50%;
    mix-blend-mode: darken;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: radial-gradient(ellipse 30% 26% at 80% 0, rgba(204, 243, 255, .6), transparent), radial-gradient(ellipse 30% 26% at bottom left, rgba(204, 243, 255, .6), transparent), #f7fafc;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 128, 0, 0.15);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* Logo/title */
.login-logo a {
    display: block;
    font-size: 24px;
    color: #008000;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 15px;
    margin-top: 20px;
}

/* Login message */
.login-box-msg {
    font-size: 16px;
    margin-bottom: 20px;
    color: #444;
}

/* Form fields */
.form-group {
    margin-bottom: 18px;
    position: relative;
    text-align: left;
}

.form-control {
    border-radius: 12px;
    border: 1px solid #ccc;
    padding: 12px 14px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-control:focus {
    border-color: #00aa00;
    box-shadow: 0 0 5px rgba(0, 170, 0, 0.2);
    outline: none;
}

.form-control-feedback {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

/* Error messages */
.invalid-feedback {
    color: red;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* Remember Me and Forgot password */
.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.icheck label {
    font-size: 14px;
    color: #444;
}

a {
    color: #008000;
    font-weight: 500;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(45deg, #008000, #00b300);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 11px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #006600, #009900);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        margin: 20px;
        padding: 25px 20px;
    }

    .row {
        flex-direction: column;
        gap: 10px;
    }
}

.btn-reset-password {

    background: linear-gradient(45deg, #008000, #00b300);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-reset-password:hover {
    background: linear-gradient(45deg, #006600, #009900);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}







/* Success Alert */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}





.invalid-feedback {
    color: red;
    font-size: 16px;
    margin-top: 6px;
    display: block;
}









/* Back Button */
.btn-back {
    display: inline-block;
    background-color: #f5f5f5;
    color: #008000;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #008000;
}

.btn-back:hover {
    background-color: #008000;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}