:root {
    --site-color: #0000;
    
     --background-color: #ffffff !important;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 50px 20px;
    animation: fadeIn 1s ease forwards;
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
    background: #ffffff !important; 
    background-image: none !important;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

.login-container {
    max-width: 380px;
    width: 100%;
    margin: 80px auto 0;
    padding: 25px 20px 35px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: scaleIn 0.8s ease forwards;
}

.site-logo { margin-bottom: 15px; }
.site-logo img { max-width: 50px; height: auto; object-fit: contain; }

.back-btn { margin-bottom: 10px; text-align: left; }
.back-btn a { color: #333; font-size: 18px; text-decoration: none; display: flex; align-items: center; gap: 5px; }

h2.login-title { font-size: 22px; font-weight: 600; margin: 5px 0 5px; color: var(--site-color); }
.subtitle { color: #777; margin-bottom: 25px; font-size: 14px; }

.input-group {
    display: flex; align-items: center; background: var(--background-color);
    border-radius: 12px; padding: 10px 15px; margin-bottom: 15px;
    position: relative; transition: box-shadow 0.3s ease;
}
.input-group:hover, .input-group input:focus { box-shadow: 0 3px 8px rgba(51, 51, 255, 0.2); }
.input-group i { color: #999; margin-right: 10px; font-size: 14px; }
.input-group input { border: none; outline: none; background: transparent; flex: 1; font-size: 13px; }

.toggle-password { cursor: pointer; position: absolute; right: 12px; color: #999; }

.forgot { text-align: right; margin-bottom: 20px; }
.forgot a { font-size: 13px; color: var(--site-color); text-decoration: none; }

.btn-login {
    width: 100%; background-color: var(--site-color); color: #fff;
    border: none; padding: 14px; border-radius: 12px;
    font-size: 14px; font-weight: 500; cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}
.btn-login:hover { background-color: #2222cc; transform: translateY(-2px); }

.signup-text { text-align: center; margin-top: 25px; font-size: 13px; }
.signup-text a { color: var(--site-color); text-decoration: none; font-weight: 500; }
.signup-text a:hover { text-decoration: underline; }

.popup {
    position: fixed; top: 20px; right: 20px;
    padding: 14px 18px; border-radius: 10px;
    font-size: 13px; font-weight: 500; color: #fff;
    display: flex; align-items: center; gap: 8px;
    opacity: 0; transform: translateY(-20px);
    animation: fadeInPopup 0.5s forwards; z-index: 1000;
}
.popup-success { background: #28a745; }
.popup-error { background: #e74c3c; }
.popup i { font-size: 16px; }

@keyframes fadeInPopup { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOutPopup { to { opacity: 0; transform: translateY(-20px); } }
