/* ================================================
   Font Poppins (offline from public/fonts/poppins)
   ================================================ */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Regular.woff2') format('woff2'),
         url('../fonts/poppins/Poppins-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* ================================================
   Global Style
   ================================================ */
body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background-color: #f9fafb;
    color: #111827;
    margin: 0;
    padding: 0;
}

/* ================================================
   Typography
   ================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #1e3a8a;
}

p {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

/* ================================================
   Form Controls
   ================================================ */
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* ================================================
   Buttons
   ================================================ */
.btn-primary {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.btn-primary:hover {
    background: #1e40af;
}

/* ================================================
   Cards
   ================================================ */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ================================================
   Alerts
   ================================================ */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.alert-danger {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #ef4444;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #22c55e;
}
