 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     background: linear-gradient(135deg, #1a3a5c 0%, #2d5a8c 100%);
     min-height: 100vh;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .container {
     background: white;
     border-radius: 10px;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
     width: 100%;
     max-width: 400px;
     padding: 40px;
 }

 .logo {
     text-align: center;
     margin-bottom: 30px;
 }

 .logo h1 {
     color: #1a3a5c;
     font-size: 28px;
     margin-bottom: 10px;
 }

 .form-group {
     margin-bottom: 20px;
 }

 label {
     display: block;
     margin-bottom: 8px;
     color: #1a3a5c;
     font-weight: 500;
 }

 input[type="email"],
 input[type="password"] {
     width: 100%;
     padding: 12px;
     border: 2px solid #e0e0e0;
     border-radius: 5px;
     font-size: 14px;
     transition: border-color 0.3s;
 }

 input[type="email"]:focus,
 input[type="password"]:focus {
     outline: none;
     border-color: #1a3a5c;
 }

 .login-btn {
     width: 100%;
     padding: 12px;
     background: linear-gradient(135deg, #1a3a5c 0%, #2d5a8c 100%);
     color: white;
     border: none;
     border-radius: 5px;
     font-size: 16px;
     font-weight: 600;
     cursor: pointer;
     transition: transform 0.2s;
 }

 .login-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(26, 58, 92, 0.3);
 }

 .divider {
     text-align: center;
     margin: 25px 0;
     position: relative;
     color: #999;
     font-size: 14px;
 }

 .divider::before {
     content: '';
     position: absolute;
     top: 50%;
     left: 0;
     right: 0;
     height: 1px;
     background: #e0e0e0;
 }

 .divider span {
     background: white;
     padding: 0 10px;
     position: relative;
 }

 .google-btn {
     width: 100%;
     padding: 12px;
     background: white;
     border: 2px solid #1a3a5c;
     border-radius: 5px;
     font-size: 14px;
     font-weight: 600;
     cursor: pointer;
     color: #1a3a5c;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     transition: background 0.3s;
 }

 .google-btn:hover {
     background: #f5f5f5;
 }

 .google-icon {
     width: 20px;
     height: 20px;
 }

 .success-message {
     background: #4caf50;
     color: white;
     padding: 12px;
     border-radius: 5px;
     margin-bottom: 20px;
     display: none;
 }

 .logout-link {
     text-align: center;
     margin-top: 20px;
 }

 .logout-link a {
     color: #1a3a5c;
     text-decoration: none;
     font-size: 14px;
 }

 .logout-link a:hover {
     text-decoration: underline;
 }

 .error-message {
     background: #ffe5e5;
     color: #b30000;
     padding: 10px;
     border-radius: 5px;
     margin-bottom: 15px;
     text-align: center;
 }

 #loadingOverlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(255, 255, 255, 0.85);
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 9999;
 }

 .loader {
     width: 50px;
     height: 50px;
     border: 6px solid #ddd;
     border-top: 6px solid #2c3e50;
     border-radius: 50%;
     animation: spin 1s linear infinite;
 }

 @keyframes spin {
     100% {
         transform: rotate(360deg);
     }
 }