:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-main: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: var(--white);
    max-width: 600px;
    width: 100%;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: max-width 0.3s ease;
}

.container.wide {
    max-width: 1400px;
    width: 98%;
    padding: 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a; /* Darker Navy/Charcoal */
    margin-bottom: 8px;
    text-transform: uppercase;
}

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

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

input, select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

.success-card {
    text-align: center;
}

.success-icon {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 20px;
}

.footer {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* Bulk Form Styles */
.bulk-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.bulk-table th {
    text-align: left;
    padding: 10px;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bulk-table td {
    padding: 8px;
    vertical-align: top;
}

.bulk-row {
    border-bottom: 1px solid var(--border);
}

.bulk-row:last-child {
    border-bottom: none;
}

.bulk-input {
    padding: 10px;
    font-size: 13px;
}

.pos-label {
    background: #f1f5f9;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .bulk-table thead {
        display: none;
    }

    .bulk-table, .bulk-table tbody, .bulk-row, .bulk-table td {
        display: block;
        width: 100%;
    }

    .bulk-row {
        margin-bottom: 25px;
        background: #fff;
        border: 2px solid var(--border);
        border-radius: 12px;
        padding: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .bulk-table td {
        padding: 20px 10px 10px 10px;
        position: relative;
        border-bottom: 1px solid #f1f5f9;
        text-align: left;
    }

    .bulk-table td:last-child {
        border-bottom: none;
    }

    .bulk-table td::before {
        content: attr(data-label);
        position: absolute;
        top: 4px;
        left: 10px;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        color: #94a3b8; /* Muted Slate Gray */
        letter-spacing: 0.1em;
    }

    .pos-label {
        background: #f1f5f9;
        color: #1e293b;
        text-align: center;
    }
}
