﻿:root {
    --primary: #3a3f58;
    --secondary: #6c7aa1;
    --accent: #28a745;
    --text: #333;
    --bg-light: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(160deg, var(--primary), var(--secondary));
    font-family: 'Segoe UI', Tahoma, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.96);
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-wrapper h2 {
    text-align: center;
    margin-bottom: 28px;
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

.form-options {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 24px;
    color: #555;
}

.form-options input[type="checkbox"] {
    margin-right: 8px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--accent);
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background-color: #218838;
}
.alert {
  padding: 14px 18px;
  margin: 20px auto;
  max-width: 500px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.alert strong {
  font-weight: 700;
  margin-right: 6px;
}

.alert-danger {
  background-color: #f8d7da;
  color: #842029;
  border-left: 5px solid #dc3545;
}

.alert-success {
  background-color: #d1e7dd;
  color: #0f5132;
  border-left: 5px solid #198754;
}

@media (max-width: 480px) {
    .login-wrapper {
    margin: 20px;
    padding: 24px;
    }

    .login-wrapper h2 {
    font-size: 20px;
    }

    .form-group input {
    font-size: 14px;
    }

    .login-btn {
    font-size: 15px;
    }
}