/* ---------------------------------------------------------------------------
   base.css — shared, mobile-first foundation for all pages.
   Written for small screens first; min-width media queries layer on top.
   Page-specific rules live in each page's inline <style> block.
--------------------------------------------------------------------------- */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Page background + centered layout (purple gradient).
   flex-direction: column is safe for the single-card pages and lets the
   landing page stack its hero content. */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #80C9C5 0%, #C08494 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* White card container (login, reset-password, dashboard).
   max-width is set per page since it varies. */
.container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    padding: 24px;
}

/* Text inputs / textareas.
   16px font-size stops iOS Safari from auto-zooming on focus. */
input,
.field-input {
    width: 100%;
    padding: 13px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus,
.field-input:focus {
    outline: none;
    border-color: #80C9C5;
}

/* Larger phones and up: roomier card padding. */
@media (min-width: 480px) {
    .container {
        padding: 40px;
    }
}
