/* Inspired by Spys Get Smart and James Bond - Sleek, Modern, Mysterious */
body {
    font-family: 'Rajdhani', sans-serif; /* Modern, slightly techy font */
    background-color: #1a1a2e; /* Deep, dark blue/purple - like a night operation */
    color: #e0e0e0; /* Light grey/off-white for text, good contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden; /* Prevent scrollbars from body */
    background-image: 
        linear-gradient(rgba(26, 26, 46, 0.95), rgba(26, 26, 46, 0.95)),
        url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); /* Subtle texture */
}

.login-container {
    background-color: #24243e; /* Slightly lighter shade for the container */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(76, 175, 80, 0.3); /* Main shadow + subtle thematic glow */
    width: 100%;
    max-width: 450px;
    text-align: center;
    border: 1px solid #4a4a70;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 255, 255, 0.1), /* Electric blue accent */
        transparent 30%
    );
    animation: rotate 10s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-header, .login-form, .login-footer, .login-feedback {
    position: relative;
    z-index: 1;
}

.login-header h1 {
    font-family: 'Orbitron', sans-serif; /* More futuristic/tech for headings */
    color: #00ffff; /* Electric blue / cyan */
    margin-bottom: 5px;
    font-size: 2.5em;
    text-shadow: 0 0 10px #00ffff;
}

.login-header p {
    color: #a0a0c0; /* Lighter purple/blue */
    margin-bottom: 30px;
    font-size: 1.1em;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.input-group label {
    display: block;
    color: #c0c0e0;
    margin-bottom: 8px;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input[type="text"],
.input-group input[type="password"] {
    width: calc(100% - 40px); /* Adjust width to account for icon */
    padding: 12px 15px 12px 40px; /* Padding to make space for icon */
    background-color: #1e1e36;
    border: 1px solid #4a4a70;
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input[type="text"]:focus,
.input-group input[type="password"]:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.input-group .input-icon {
    position: absolute;
    left: 12px;
    top: 55%; /* Adjust based on label and input height */
    transform: translateY(calc(-50% + 8px)); /* Center icon vertically */
    color: #7070a0;
    font-size: 1.2em;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.remember-me {
    color: #a0a0c0;
}

.remember-me input[type="checkbox"] {
    margin-right: 5px;
    accent-color: #00ffff; /* Style checkbox */
}

.forgot-password {
    color: #00ffff;
    text-decoration: none;
    transition: text-shadow 0.3s;
}

.forgot-password:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px #00ffff;
}

.login-button {
    background-color: #007bff; /* Primary action color - can be themed, e.g., metallic silver or gold */
    background-image: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    width: 100%;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.login-button:hover {
    background-image: linear-gradient(to right, #0056b3, #003d80);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.login-button:active {
    transform: translateY(0px);
}

.login-feedback {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.login-feedback.success {
    background-color: rgba(0, 255, 127, 0.1); /* Spring green */
    color: #39ff14; /* Neon green */
    border: 1px solid #39ff14;
}

.login-feedback.error {
    background-color: rgba(255, 69, 0, 0.1); /* Red-orange */
    color: #ff4500;
    border: 1px solid #ff4500;
}

.login-footer {
    margin-top: 30px;
    font-size: 0.8em;
    color: #7070a0;
}

.login-footer p {
    margin: 5px 0;
}

/* Placeholder for icons - consider FontAwesome or custom SVGs */
/* Example custom icon styling if using SVGs or image files:
.icon-surveillance {
    background-image: url('../icons/surveillance.svg');
    width: 24px; 
    height: 24px;
    display: inline-block; 
}
*/

/* Responsive adjustments */
@media (max-width: 500px) {
    .login-container {
        margin: 20px;
        padding: 25px;
    }
    .login-header h1 {
        font-size: 2em;
    }
    .input-group input[type="text"],
    .input-group input[type="password"] {
        padding: 10px 10px 10px 35px;
        width: calc(100% - 35px);
    }
    .input-group .input-icon {
        left: 10px;
    }
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    .form-options .forgot-password {
        margin-top: 10px;
    }
}
