* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
svg {
  width: 1em;
  height: 1em;
}



body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: #1f2937;
}

/* Layout */
.layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    padding: 24px 16px;
}

.brand {
    font-size: 22px;
    font-weight: 700;
    color: #ea580c;
    margin-bottom: 24px;
}

.brand span {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.menu-link {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 4px;
}

.menu-link:hover {
    background: #ffedd5;
    color: #c2410c;
}

.menu-link.active {
    background: #fed7aa;
    color: #9a3412;
    font-weight: 600;
}

.menu-title {
    margin: 18px 0 6px;
    font-size: 11px;
    text-transform: uppercase;
    color: #9ca3af;
}

/* Main */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* Topbar */
.topbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 24px;
    display: flex;
    justify-content: flex-end;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-links a {
    font-size: 13px;
    text-decoration: none;
    color: #6b7280;
    margin-right: 14px;
}

.top-links a:hover {
    color: #ea580c;
}

.user-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-info {
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}

.user-info span {
    display: block;
    font-size: 11px;
    color: #9ca3af;
}

.logout-btn {
    background: #ef4444;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.logout-btn:hover {
    background: #dc2626;
}


/* Content */
.content {
    padding: 32px;
    flex: 1;
}

.welcome-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    margin-bottom: 28px;
}

.welcome-card h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.welcome-card p {
    color: #6b7280;
    max-width: 800px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.06);
}

.card h3 {
    color: #ea580c;
    margin-bottom: 8px;
    font-size: 16px;
}

.card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    padding: 14px;
}

.profile-header {
    margin-bottom: 20px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.profile-card {
    padding: 22px;
}

.profile-card h3 {
    margin-bottom: 18px;
    font-size: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d0d0d0;
}

.form-group textarea {
    min-height: 80px;
}

.form-group input:disabled {
    background: #f4f4f4;
    color: #777;
    cursor: not-allowed;
}

.btn.primary {
    background: #1f6fff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
}

.btn.secondary {
    background: #222;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
}

@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* ADMIN TABLE & FILTER UI */
/* ============================= */

.page-header {
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 26px;
    margin-bottom: 6px;
}

.page-header p {
    color: #6b7280;
    font-size: 14px;
}

/* Filters */
.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 14px;
    align-items: center;
}

.input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    width: 100%;
}

.input:focus {
    outline: none;
    border-color: #ea580c;
}

/* Buttons */
.btn {
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn.primary {
    background: #ea580c;
    color: #fff;
}

.btn.primary:hover {
    background: #c2410c;
}

.btn.secondary {
    background: #1f2937;
    color: #fff;
}

.btn.secondary:hover {
    background: #111827;
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table thead th {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 600;
}

.table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: #f9fafb;
}

/* Badges */
.badge {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.badge.green {
    background: #dcfce7;
    color: #166534;
}

.badge.yellow {
    background: #fef9c3;
    color: #854d0e;
}

.badge.red {
    background: #fee2e2;
    color: #991b1b;
}

/* Pagination */
.pagination-wrap {
    margin-top: 20px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    margin: 4px 6px 6px 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    border-radius: 20px;
    white-space: nowrap;
}
.badge.month {
    background-color: #eef2ff;   /* light indigo */
    color: #4338ca;              /* indigo text */
    border: 1px solid #c7d2fe;
}
.badge.season {
    background-color: #ecfdf5;   /* light green */
    color: #047857;              /* green text */
    border: 1px solid #a7f3d0;
}
.badge:hover {
    transform: translateY(-1px);
    transition: all 0.2s ease;
}
.card .badge {
    vertical-align: middle;
}
.badge.season.spring { background:#ecfdf5; color:#047857; }
.badge.season.summer { background:#fff7ed; color:#c2410c; }
.badge.season.monsoon{ background:#eff6ff; color:#1d4ed8; }
.badge.season.autumn { background:#fef3c7; color:#92400e; }
.badge.season.winter { background:#f1f5f9; color:#334155; }


/* ===============================
   DASHBOARD CONTENT ALIGNMENT
   =============================== */

.dashboard-container{
  max-width: 860px;   /* SAME as calculator page */
  padding: 24px 28px;
}


/* ===============================
   TYPOGRAPHY NORMALIZATION
   =============================== */

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:14px;
  color:#0f172a;
}

h1{
  font-size:22px;
  font-weight:700;
}

h2{
  font-size:18px;
  font-weight:600;
}

h3{
  font-size:16px;
  font-weight:600;
}

label{
  font-size:13px;
  font-weight:500;
}

input,
select,
button{
  font-size:14px;
}
/* ===============================
   PRICE CARD (REUSABLE)
   =============================== */

.price-card{
  max-width:560px;
  margin:28px auto;
  background:#fff;
  border-radius:16px;
  padding:24px 26px;
  box-shadow:0 14px 32px rgba(0,0,0,0.08);
}

.price-title{
  font-size:18px;
  font-weight:700;
  margin-bottom:16px;
}

.price-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.price-row{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  padding:6px 0;
  border-bottom:1px dashed #e5e7eb;
}

.price-row:last-child{
  border-bottom:none;
}

.price-divider{
  height:1px;
  background:#e5e7eb;
  margin:16px 0;
}

.final-total{
  display:flex;
  justify-content:space-between;
  font-size:16px;
  font-weight:700;
}

.price-note{
  font-size:12px;
  color:#6b7280;
  margin-top:6px;
}

.export-btn{
  margin-top:18px;
  width:100%;
  padding:14px;
  border-radius:12px;
  border:none;
  background:linear-gradient(135deg,#ff9800,#ff7a00);
  color:#fff;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
}

.export-btn:hover{
  box-shadow:0 6px 18px rgba(255,152,0,.35);
  transform:translateY(-1px);
}

