:root {
    --primary: #1b4332; 
    --primary-light: #2d6a4f;
    --accent: #d4af37; 
    --surface: rgba(255, 255, 255, 0.95);
    --text-main: #1a1a1a;
    --radius: 16px;
    --shadow-deep: 0 20px 50px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* Creative Animated Gradient Background */
    background: linear-gradient(135deg, #081c15 0%, #1b4332 50%, #2d6a4f 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

/* Decorative background elements for "Creativity" */
body::before, body::after {
    content: "";
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
}

body::before {
    background: var(--accent);
    top: -200px;
    right: -100px;
}

body::after {
    background: var(--primary-light);
    bottom: -200px;
    left: -100px;
}

.login-container {
    background: var(--surface);
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-header {
    background: linear-gradient(to bottom right, var(--primary), #081c15);
    padding: 50px 30px;
    color: white;
    text-align: center;
    border-bottom: 4px solid var(--accent);
}

.login-logo {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 15px;
    /* Glowing effect for the icon */
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.login-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 900;
}

.form-group {
    padding: 0 40px;
    margin-top: 25px;
}

.form-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.form-input {
    width: 100%;
    padding: 14px;
    background: #f0f4f2;
    border: 1px solid #d1d9d4;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus {
    outline: none;
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.login-btn {
    display: block;
    width: calc(100% - 80px);
    margin: 30px 40px;
    padding: 16px;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.4);
    filter: brightness(1.1);
}

.notification-card {
    margin-top: 25px;
    max-width: 420px;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-deep);
}

.notification-title {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}

.register-link {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.03);
}

.register-link a {
    color: var(--primary-light);
    font-weight: 800;
    text-decoration: none;
}

.error-message {
    margin: 20px 40px;
    padding: 15px 20px;
    background: #fff5f5; /* Light Red */
    border-left: 5px solid #f44336; /* Bold Red Accent */
    border-radius: 8px;
    color: #c53030;
    font-size: 0.9rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: shake 0.4s ease-in-out;
}

/* Add an icon via CSS for a more professional look */
.error-message::before {
    content: "\f06a"; /* FontAwesome Exclamation Circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.2rem;
}

.error-message strong {
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Subtle shake animation to draw attention */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}