/* admin-login.css – premium light minimalist admin login styling */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Lato:wght@300;400;700&display=swap');

.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9; /* Sleek slate-grey background for modern depth */
    background-image: 
        radial-gradient(at 0% 0%, rgba(218, 12, 139, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(218, 12, 139, 0.04) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.04) 0px, transparent 50%); /* Clean magenta and indigo mesh glow */
    font-family: 'Poppins', 'Lato', sans-serif;
    color: #1e293b;
    overflow: hidden;
    position: relative;
}

/* Elegant soft glow accents */
.admin-login-wrapper::before,
.admin-login-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(218, 12, 139, 0.03);
    filter: blur(100px);
    z-index: 1;
}

.admin-login-wrapper::before {
    top: 5%;
    left: 10%;
}

.admin-login-wrapper::after {
    bottom: 5%;
    right: 10%;
}

.login-card {
    background: #ffffff; /* Crisp premium white to stand out clearly from the background */
    border: 1px solid rgba(218, 12, 139, 0.05) !important;
    border-radius: 0px !important; /* Sharp corners as requested */
    padding: 2.2rem 2.2rem; /* Reduced padding to make card more compact and reduce height */
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 40px -15px rgba(218, 12, 139, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02) !important; /* Soft premium shadow for beautiful depth */
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) ease-out;
    z-index: 2;
}

@keyframes fadeIn { 
    from {
        opacity: 0; 
        transform: translateY(20px);
    } 
    to {
        opacity: 1; 
        transform: translateY(0);
    } 
}

.login-card .text-center img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    margin-bottom: 0.8rem; /* Reduced margin */
    transition: transform 0.4s ease;
}

.login-card .text-center img:hover {
    transform: scale(1.05);
}

.login-card .login-title {
    text-align: center;
    margin-bottom: 1.2rem; /* Reduced margin to make height more compact */
    font-weight: 700;
    font-size: 1.25rem; /* Reduced font size for cleaner, more balanced look */
    color: #1e293b; /* Dark text for contrast */
    letter-spacing: -0.025em;
    font-family: 'Poppins', sans-serif;
}

/* Modern elegant flexbox input groups */
.login-card .input-group {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
}

.login-card .input-group-addon {
    background-color: #fdf2f8 !important; /* Soft light pink */
    border: 1px solid #ebd4e0 !important;
    border-right: none !important;
    color: #da0c8b !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    min-width: 50px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    border-radius: 0px !important; /* Sharp corners */
}

.login-card .form-control {
    background: #ffffff !important;
    border: 1px solid #ebd4e0 !important;
    color: #334155 !important;
    padding: 0.95rem 1.25rem !important;
    margin-bottom: 0px !important; /* Reset margin bottom since group handles it */
    border-radius: 0px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem !important;
    flex-grow: 1 !important; /* Take up all remaining width */
    width: 100% !important; /* Fill parent */
    display: block !important;
}

.login-card .form-control::placeholder {
    color: #94a3b8 !important;
}

.login-card .form-control:focus {
    border-color: #da0c8b !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(218, 12, 139, 0.1) !important; /* Subtle pink highlight outline */
    outline: none !important;
}

.login-card .btn-login {
    background: linear-gradient(135deg, #da0c8b, #be185d);
    border: none;
    width: 100%;
    padding: 0.95rem;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    border-radius: 0px !important; /* Sharp corners as requested */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(218, 12, 139, 0.25);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.5rem; /* Reduced top margin to decrease height */
}

.login-card .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(218, 12, 139, 0.4);
    background: linear-gradient(135deg, #f43f5e, #da0c8b);
}

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

.login-card .checkbox-fade label {
    color: #475569;
    cursor: pointer;
    font-size: 0.9rem;
}

.login-card a {
    color: #da0c8b;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.login-card a:hover {
    color: #be185d;
    text-decoration: underline;
}

.login-card .error {
    font-size: 0.8rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 500;
    color: #ef4444;
}
