/* Mobile-First Base Styles */
:root {
    --brand-navy: #2B456D;
    --brand-red: #C62828;
    --brand-orange: #F5A623;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.reg-card {
    width: 100%;
    max-width: 450px; /* Perfect for desktop browsers */
    height: 100vh;    /* Full height on mobile */
    background: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

/* On larger screens, make it look like a floating card */
@media (min-width: 600px) {
    .reg-card {
        height: auto;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
}

.logo {
    width: 160px;
    margin: 40px auto 20px;
    display: block;
}

input, select {
    -webkit-appearance: none; /* Removes default iOS styling */
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px; /* Prevents auto-zoom on iPhone */
}

button {
    background-color: var(--brand-navy);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

button:active {
    transform: scale(0.98); /* Taptic feel for mobile users */
}