/* loginmaestro.css */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f2f5; /* Light grey background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent scrollbars from particles */
    position: relative; /* For absolute positioning of particles and login container */
}

/* Particles container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #2c3e50; /* Dark blue/grey background for particles */
    background-image: url('');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 0; /* Ensures particles are behind the login form */
}

.login-container {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px; /* Increased max-width for better spacing */
    text-align: center;
    z-index: 1; /* Ensures login container is above particles */
    position: relative; /* Needed for z-index to work */
}

.logo-container {
    margin-bottom: 25px;
}

.logo {
    max-width: 180px; /* Slightly larger logo */
    height: auto;
}

h2 {
    color: #333;
    margin-bottom: 30px; /* More space below heading */
    font-size: 1.8rem; /* Slightly larger heading */
    font-weight: 600;
}

.form-label {
    font-weight: bold;
    color: #555;
    text-align: left; /* Align labels to the left */
    width: 100%; /* Ensure label takes full width */
}

.form-control,
.form-select {
    border-radius: 8px; /* More rounded inputs */
    padding: 10px 15px;
    border: 1px solid #ced4da;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}

.form-control:focus,
.form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.form-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
    text-align: left;
}

.glowing-button {
    width: 100%;
    padding: 12px 0;
    background-color: #007bff; /* Primary blue */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px; /* More space above button */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3); /* Subtle glow */
}

.glowing-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5); /* Enhanced glow on hover */
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Developer Credit */
.developer-credit {
    font-size: 0.9rem; /* Slightly smaller for subtleness */
    font-weight: bold;
    text-align: center;
    margin-top: 15px; /* Adjust margin */
    color: #444; /* Darker color for better readability on lighter background */
    z-index: 1; /* Keep text above particles */
    position: relative;
}

.rotating-text {
    display: inline-block;
    color: #00bfff; /* Cyan bright */
    font-weight: bold;
    transition: transform 0.6s ease;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0, 191, 255, 0.5); /* Subtle text glow */
}

.rotating-text:hover {
    transform: rotateY(360deg);
}

.static-text {
    font-weight: bold;
    color: #444; /* Keep consistent with developer-credit color */
}