/* Login Module - Complete CSS Module for login page */
@import url('https://fonts.googleapis.com/css2?family=Aladin&display=swap');

/* Base Styles */
.loginBody {
    font-family: 'Arial', sans-serif;
    background-color: #111;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

/* Genie Header */
.loginHeader {
    position: absolute;
    top: 10px;
    text-align: center;
    width: 100%;
    margin-top: 40px;
}

.genieTitle {
    font-family: 'Aladin', cursive;
    font-size: 60px;
    color: #ffcc00;
    text-shadow: 0px 0px 10px rgba(255, 204, 0, 0.8);
    animation: fadeIn 2s ease-in-out;
}

/* Login Container */
.loginContainer {
    background: #434141;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.15);
    width: 350px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    animation: fadeInUp 1.5s ease-in-out;
}

.loginContainer:hover {
    transform: scale(1.02);
}

.loginTitle {
    margin-bottom: 20px;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}

/* Input Fields */
.textInput,
.passwordInput {
    width: 92%;
    padding: 14px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    background: #333;
    color: white;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
}

.textInput:focus,
.passwordInput:focus {
    background: #444;
    box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.2);
}

.textInput::placeholder,
.passwordInput::placeholder {
    color: #aaa;
}

/* Password Field Container */
.passwordFieldContainer {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 10px 0;
}

.passwordFieldContainer .passwordInput {
    width: 92%;
    padding: 14px 50px 14px 14px;
    border: none;
    border-radius: 8px;
    background: #333;
    color: white;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
}

.passwordFieldContainer .passwordInput:focus {
    background: #444;
    box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.2);
}

.passwordFieldContainer .passwordInput::placeholder {
    color: #aaa;
}

.passwordToggleBtn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #aaa;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.passwordToggleBtn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.passwordToggleBtn:active {
    transform: scale(0.95);
}

.passwordToggleBtn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Login Button */
.loginButton {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    margin-top: 10px;
}

.loginButton:hover {
    background: linear-gradient(135deg, #0056b3, #003d80);
    box-shadow: 0px 4px 12px rgba(0, 123, 255, 0.3);
}

/* Error Message */
.errorMessage {
    color: #ff4d4d;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Formal Custom Alert Styles */
.formal-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  position: fixed;
  top: 24px;
  right: 24px;
  min-width: 280px;
  max-width: 420px;
  background: #f8f9fa;
  color: #222;
  border-left: 5px solid #007bff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  border-radius: 8px;
  padding: 16px 20px 16px 16px;
  font-size: 16px;
  z-index: 10000;
  transition: opacity 0.3s, transform 0.3s;
}
.formal-alert.success { border-left-color: #28a745; }
.formal-alert.error { border-left-color: #dc3545; }
.formal-alert.warning { border-left-color: #ffc107; }
.formal-alert.info { border-left-color: #17a2b8; }
#formal-alert-icon {
  font-size: 22px;
  margin-right: 8px;
}
#formal-alert-message {
  flex: 1;
}
.formal-alert-close {
  background: none;
  border: none;
  color: #888;
  font-size: 22px;
  cursor: pointer;
  margin-left: 8px;
  padding: 0 4px;
  border-radius: 4px;
  transition: background 0.2s;
}
.formal-alert-close:hover {
  background: #e9ecef;
  color: #222;
}

/* Genie Animation */
.genieAnimation {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 20%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    animation: genieAppear 3s ease-in-out;
}

/* Screen reader support */
.srOnly {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes genieAppear {
    0% { opacity: 0; transform: translateY(-20px) scale(0.5); }
    50% { opacity: 1; transform: translateY(10px) scale(1); }
    100% { opacity: 0; transform: translateY(30px) scale(1.2); }
}

/* Quick Access Buttons */
.quickAccessHeading {
    margin-top: 32px;
    margin-bottom: 12px;
    color: #e0e0e0;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    animation: fadeInUp 1.2s ease-in-out;
}

.quickAccessContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 0 20px;
    max-width: 800px;
    animation: fadeInUp 1.5s ease-in-out;
}

.quickAccessButton {
    padding: 12px 24px;
    background: linear-gradient(135deg, #434141, #333);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    min-width: 100px;
    text-align: center;
}

.quickAccessButton:hover {
    background: linear-gradient(135deg, #555, #444);
    box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.quickAccessButton:active {
    transform: translateY(0);
} 