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

body {
    margin: 0;
    font-family: 'Poppins', sans-serif !important;
    color: #212529;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Admin Panel Design System ──────────────────────────────────────────── */

.content-wrapper {
    background: #eef0f5 !important;
}

/* Page header */
.admin-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.3px;
    margin: 0;
}

/* Cards */
.admin-card {
    background: #fff;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.07), 0 1px 2px rgba(26, 26, 46, 0.04) !important;
    overflow: hidden;
}

.admin-card-filters {
    border-radius: 14px !important;
    border: none !important;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.07), 0 1px 2px rgba(26, 26, 46, 0.04) !important;
}

/* Filter section label */
.admin-filter-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6c757d;
    margin-bottom: 0.35rem;
    display: block;
}

/* Table */
.admin-table {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.admin-table thead tr {
    background: #1a1a2e;
}

.admin-table thead th {
    border: none !important;
    padding: 14px 16px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.65) !important;
    white-space: nowrap;
}

.admin-table tbody tr {
    border-bottom: 1px solid #f0f2f5;
    transition: background 0.15s ease;
}

.admin-table tbody tr:hover {
    background: #f8f9ff !important;
}

.admin-table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-top: none;
}

/* Cell background fills — light enough to keep text readable */
.admin-stripe-success { background: #edf7f0 !important; }
.admin-stripe-danger  { background: #fdf0f0 !important; }
.admin-stripe-info    { background: #edf6f9 !important; }
.admin-stripe-primary { background: #edf2ff !important; }
.admin-stripe-muted   { background: #f8f9fa !important; }

/* Code chip (e.g. order IDs) */
.admin-code-chip {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.78rem;
    background: #eef0f5;
    color: #495057;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

/* Pill buttons for reminder (M/V/S) */
.btn-pill-sm {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    line-height: 1.6;
}

/* ─── Form Design System ─────────────────────────────────────────────────── */

.admin-form-card {
    background: #fff;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.07), 0 1px 2px rgba(26, 26, 46, 0.04) !important;
}

.admin-form-section {
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid #f0f2f5;
}

.admin-form-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #1a1a2e;
    margin-bottom: 1rem;
    display: block;
}

.admin-field-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: 0.1px;
    margin-bottom: 0.4rem;
    display: block;
}

.admin-field-label .admin-required {
    color: #e5534b;
    margin-left: 2px;
}

.admin-form-control {
    border-radius: 8px !important;
    border: 1.5px solid #e2e6ea !important;
    font-size: 0.875rem !important;
    color: #1a1a2e !important;
    padding: 0.5rem 0.85rem !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    background: #fff !important;
}

.admin-form-control:focus {
    border-color: #1a1a2e !important;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08) !important;
    outline: none !important;
}

.admin-form-control.is-invalid {
    border-color: #e5534b !important;
}

.admin-form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(229, 83, 75, 0.12) !important;
}

.admin-form-footer {
    background: #f8f9fb;
    border-top: 1px solid #f0f2f5;
    border-radius: 0 0 14px 14px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}


.sprect {
	background: linear-gradient(90deg, #ff512f, #f09819) !important;
	color: white !important;
}

.sprect:hover {
	background: linear-gradient(90deg, #f09819, #ff512f) !important;
}

.sprect-primary {
	background: linear-gradient(90deg, #ff512f, #f09819) !important;
	color: white !important;
}

.sprect-secondary {
	background: linear-gradient(86.51deg, #16222a, #3a6073 112.05%, #3a6073 0) !important;
	color: white !important;
}

.btn-sprect-primary {
	background: linear-gradient(90deg, #ff512f, #f09819) !important;
	color: white !important;
}

.btn-sprect-primary:hover {
	background: linear-gradient(90deg, #f09819, #ff512f) !important;
}

.btn-sprect-secondary {
	background: linear-gradient(86.51deg, #16222a 0%, #3a6073 112.05%);
	color: white !important;
}

.btn-sprect-secondary:hover {
	background: linear-gradient(86.51deg, #3a6073 0%, #16222a 112.05%) !important;
}

.sprect-textarea {
	resize: none;
}

.bg-sprect-primary {
	background: linear-gradient(90deg, #ff512f, #f09819) !important;
	color: white !important;
}

.bg-sprect-secondary {
	background: linear-gradient(86.51deg, #16222a, #3a6073 112.05%, #3a6073 0) !important;
	color: white !important;
}

