/* Fixed Design - Does not change */
@font-face {
    font-family: 'TH Sarabun New';
    src: url('../fonts/THSarabunNew.ttf') format('truetype');
}

body {
    font-family: 'TH Sarabun New', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* Light neutral background */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* We use var(--main-color) which will be defined in the header */
.header-bar {
    background-color: var(--main-color);
    color: var(--text-color);
    padding: 15px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.primary-button {
    background-color: var(--main-color);
    color: var(--text-color);
    border: none;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
}

/* Auth Specific Styles */
label {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.mobile-input {
    width: 100%;
    padding: 14px; /* Larger touch area for mobile */
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-sizing: border-box; /* Ensures padding doesn't break layout */
    font-size: 16px; /* Prevents iOS from zooming in on focus */
}

.primary-button:active {
    filter: brightness(0.9); /* Feedback when tapped */
    transform: scale(0.98);
}

textarea.mobile-input {
    resize: none;
    font-family: inherit;
}

input[type="file"]::file-selector-button {
    background: var(--main-color);
    color: var(--text-color);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    margin-right: 10px;
    font-family: 'TH Sarabun New';
    font-weight: bold;
}