/* Reset & Base */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fafafa;
    background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
    background-size: 30px 30px;
    font-family: 'Inter', sans-serif;
}

/* Perfect Centering for Main */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical center */
    align-items: center;     /* Horizontal center */
    width: 100%;
    max-width: 400px;        /* Keeps form from stretching too wide */
    padding: 2rem;
}

/* Card Style for Form */
.access-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't break width */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

h2 { font-size: 1.8rem; margin: 0 0 0.5rem 0; letter-spacing: -1px; }
p { color: #666; margin: 0 0 1.5rem 0; font-size: 0.95rem; }

input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.btn {
    background: #000;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover { background: #333; }
