@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-main: #F0F4F4; /* Sea Salt */
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    --text-main: #334155;
    --text-muted: #64748B;
    --accent: #87A987; /* Soft Sage Green */
    --accent-hover: #759775;
    --success: #10B981;
    --danger: #EF4444;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 900px;
    width: 90%;
    margin: 3rem auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
}

h1, h2, h3 {
    color: var(--accent-hover);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

p.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
textarea {
    width: 100%;
    padding: 1rem;
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

textarea {
    resize: both;
    max-width: 100%;
    min-height: 100px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(135, 169, 135, 0.2);
}

input[type="file"] {
    padding: 0.75rem;
}

input[type="file"]::file-selector-button {
    background: var(--border-color);
    border: none;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-right: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

input[type="file"]::file-selector-button:hover {
    background: #CBD5E1;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    width: 100%;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    width: auto;
    font-size: 0.9rem;
}

.btn-success { background: var(--success); }
.btn-success:hover { background: #059669; }

.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #dc2626; }

.flash-messages { margin-bottom: 2rem; }

.alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #F8FAFC;
    border-left: 4px solid var(--accent);
}

.alert-success { border-color: var(--success); background: #ECFDF5; }
.alert-danger { border-color: var(--danger); background: #FEF2F2; }

table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border-color); }
th { color: var(--text-muted); font-weight: 500; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }

.badge { padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.85rem; font-weight: 500; }
.badge-Pending { background: #FEF3C7; color: #D97706; }
.badge-Reviewed { background: #D1FAE5; color: #059669; }
.badge-Requires-Info { background: #FEE2E2; color: #DC2626; }
.badge-Paid { background: #D1FAE5; color: #059669; }
.badge-Unpaid { background: #FEE2E2; color: #DC2626; }

.actions { display: flex; gap: 0.5rem; }
.nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
a { color: var(--accent-hover); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); text-decoration: underline; }
