body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('https://images.unsplash.com/photo-1534794048419-48e110dca88e'); /* Custom background image */
    background-color: #0b3d0b; /* Fallback color */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 20, 0, 0.7);
    z-index: 0;
}

/* Login container */
.login-container {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.95), rgba(60, 60, 60, 0.95));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 4px 15px rgba(255, 255, 255, 0.1);
    width: 350px;
    text-align: center;
    backdrop-filter: blur(12px);
    z-index: 1;
    transition: all 0.3s ease;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: linear-gradient(45deg, 
        transparent 25%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 75%);
    transform: rotate(35deg);
    z-index: -1;
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { transform: rotate(35deg) translateX(-150%); }
    100% { transform: rotate(35deg) translateX(150%); }
}

.login-container:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.login-container h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.input-box {
    margin: 1.5rem auto;
    width: 85%;
    position: relative;
}

.input-box input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-box input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.input-box button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(145deg, #f0f0f0, #c0c0c0);
    border: none;
    border-radius: 8px;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.input-box button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.error {
    color: #ff6b6b;
    text-shadow: none;
}

.success {
    color: #6c5ce7;
    text-shadow: none;
}