/* quiz-style.css */

/* --- General Body and Font Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #111827; /* Dark Navy Background */
    color: #fff;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Reusable Header --- */
.main-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.main-header .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo a {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    text-decoration: none;
}

.main-header nav a {
    color: #D1D5DB; /* text-gray-300 */
    text-decoration: none;
    transition: color 0.3s;
    margin-left: 2rem;
}

.main-header nav a:hover {
    color: #fff;
}

/* --- Main Content Area --- */
.main-content {
    flex-grow: 1;
    padding: 2.5rem 1.5rem; /* py-10 px-6 */
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #1F2937; /* bg-gray-800 */
    padding: 2rem;
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid #374151; /* border-gray-700 */
}

/* --- Form and Button Styles --- */
h1 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800; /* extrabold */
    text-align: center;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* bold */
    text-align: center;
    margin-bottom: 1.5rem;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    background-color: #374151; /* bg-gray-700 */
    border: 1px solid #4B5563; /* border-gray-600 */
    border-radius: 0.5rem; /* rounded-lg */
    padding: 0.75rem 1rem;
    color: #fff;
    margin-bottom: 1rem;
    box-sizing: border-box; /* Important for padding */
}

input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #6366F1; /* ring-2 focus:ring-indigo-500 */
}

button {
    width: 100%;
    background-color: #6366F1; /* bg-indigo-500 */
    color: white;
    padding: 0.75rem 0;
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 600; /* semibold */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

button:hover {
    background-color: #4F46E5; /* hover:bg-indigo-600 */
}