/* Main color scheme */ :root { --primary-color: #1e1e1e; /* Dark background */ --secondary-color: #292929; /* Slightly lighter dark */ --accent-color: #ffd700; /* Neon gold */ --accent-dark-color: #e6ac00; /* Darker neon gold */ --text-color: #ffffff; /* White text */ --input-background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */ --input-border: #ffd700; /* Neon gold border */ } /* Basic reset */ * { margin: 0; padding: 0; box-sizing: border-box; } /* Body styles */ body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--primary-color); color: var(--text-color); display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); } /* Neon text effect */ .neon-text { color: var(--accent-color); text-shadow: 0 0 2px rgba(255, 215, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 215, 0, 0.8), 0 0 160px rgba(255, 215, 0, 0.8); font-size: 2em; margin-bottom: 20px; } /* Container styles */ .login-container { background-color: var(--secondary-color); border-radius: 15px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); padding: 40px; max-width: 400px; width: 100%; text-align: center; animation: fadeIn 1s ease-in-out; } .login-container h2 { margin-bottom: 20px; font-size: 2em; color: var(--accent-color); text-shadow: 0 0 5px rgba(255, 215, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 215, 0, 0.8), 0 0 160px rgba(255, 215, 0, 0.8); } /* Form styles */ .login-container label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--text-color); } .login-container input[type="text"], .login-container input[type="password"] { width: calc(100% - 20px); padding: 10px; margin-bottom: 20px; border: 1px solid var(--input-border); border-radius: 10px; font-size: 16px; background-color: var(--input-background); color: var(--text-color); } /* Submit button styles */ .login-container input[type="submit"] { background-color: var(--accent-color); color: var(--primary-color); border: none; padding: 10px 20px; border-radius: 10px; font-size: 16px; cursor: pointer; transition: background-color 0.3s, transform 0.3s; } .login-container input[type="submit"]:hover { background-color: var(--accent-dark-color); transform: scale(1.05); } /* Basic animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* custom alerts */ .custom-alert { background-color: rgba(255, 215, 0, 0.5); /* Semi-transparent yellow background */ color: #1e1e1e; padding: 10px; margin: 10px 0; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); text-align: center; max-width: 90%; /* Limit width to 90% of the container */ margin: 20px auto; /* Center horizontally with some margin */ border: 2px solid transparent; /* Initial border */ background-image: linear-gradient(45deg, #ffd700, #e6ac00); /* Gradient border */ animation: border-glow 2s infinite alternate; /* Animation for border glow */ } @keyframes border-glow { 0% { border-color: #ffd700; } 100% { border-color: #e6ac00; } }