* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #f4f6fb, #e0e7ff); /* subtle gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.auth-container {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12); /* slightly darker shadow */
    border-top: 5px solid #4f46e5; /* colored accent line */
}

.auth-container h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1f2937; /* darker heading */
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #4b5563; /* slightly darker text */
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db; /* softer border */
    font-size: 14px;
    background: #f9fafb; /* subtle input background */
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2); /* softer focus shadow */
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.section-title {
    margin: 28px 0 14px;
    padding-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg, #6366f1, #4f46e5); /* gradient button */
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79,70,229,0.3);
}

.btn:hover {
    background: linear-gradient(90deg, #4f46e5, #4338ca);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67,56,202,0.35);
}

.auth-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.auth-footer a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .auth-container {
        padding: 30px 24px;
    }
}

.auth-container {
    background: #ffffff;
    width: 95%;         /* almost full width of viewport */
    max-width: 800px;   /* increase from 600px to 800px */
    max-height: 95vh;   /* keep within screen height */
    overflow-y: auto;   /* scroll inside container if needed */
    padding: 40px 32px; /* slightly more padding for bigger form */
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    border-top: 5px solid #4f46e5;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* increase gap for wide layout */
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr; /* stack columns on smaller screens */
    }
}
