/* Reset browser defaults where needed */
body {
    line-height: 1.6;
    background-color: #f8fafc; /* Light gray */
    color: #1f2937; /* Tailwind gray-800 */
    font-family: 'Figtree', sans-serif;
}

/* Links */
a {
    color: #2563eb; /* Tailwind blue-600 */
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #1d4ed8; /* blue-700 */
    text-decoration: underline;
}

/* Buttons */
button,
input[type="submit"],
.button {
    background-color: #3b82f6; /* blue-500 */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem; /* rounded-md */
    font-weight: 600;
    transition: background-color 0.2s ease;
}
button:hover,
.button:hover {
    background-color: #2563eb; /* blue-600 */
}
button:disabled {
    background-color: #94a3b8; /* gray-400 */
    cursor: not-allowed;
}

/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.375rem;
    background-color: white;
    transition: border 0.2s ease;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3b82f6; /* blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Cards */
.card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Header Shadow */
header.bg-white.shadow {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Utilities */
.text-center {
    text-align: center;
}
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* Form Label */
label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Error Messages */
.text-error {
    color: #dc2626; /* red-600 */
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .sm\:max-w-md {
        max-width: 90%;
    }
}
