/* style_login.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b3a52 50%, #129c8f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-section img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.logo-section h1 {
    color: #ff9d00;
    font-size: 28px;
    font-weight: 700;
}

.login-type-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

.user-badge {
    background-color: #e3f2fd;
    color: #1976d2;
}

.admin-badge {
    background-color: #fff3e0;
    color: #e65100;
}

.login-box h2 {
    color: #0d1b2a;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.error-message {
    background-color: #ff4444;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #0d1b2a;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #129c8f;
    box-shadow: 0 0 0 3px rgba(18, 156, 143, 0.1);
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #129c8f 0%, #0d7a6f 100%);
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(18, 156, 143, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.info-text {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.info-text p {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.info-text strong {
    color: #0d1b2a;
}

body.admin-login-body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.admin-login-btn {
    background: linear-gradient(135deg, #e65100 0%, #bf360c 100%);
}

.admin-login-btn:hover {
    box-shadow: 0 5px 15px rgba(230, 81, 0, 0.4);
}

.switch-login {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.switch-login p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.switch-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #f5f5f5;
    color: #0d1b2a;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
}

.switch-btn:hover {
    background-color: #e0e0e0;
    border-color: #129c8f;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 25px;
    }
    
    .logo-section h1 {
        font-size: 24px;
    }
    
    .login-box h2 {
        font-size: 20px;
    }
}