* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, serif;
}

body {
    background-color: #F9F5F0;
    color: #4A1516;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navigation-header {
    width: 100%;
    background-color: #FFFDF9;
    border-bottom: 1px solid #E2D7CB;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.brand-info h2 {
    font-size: 20px;
    color: #67202D;
    letter-spacing: 1px;
}

.brand-info span {
    font-size: 10px;
    color: #67202D;
    letter-spacing: 2px;
}

.owner-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.owner-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #67202D;
}

.owner-badge {
    font-size: 11px;
    font-weight: bold;
    color: #67202D;
}

/* MAIN DASHBOARD LAYOUT */
.dashboard-container {
    display: flex;
    gap: 20px;
    padding: 25px 30px;
    flex: 1;
}

.sidebar-menu {
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.sidebar-btn {
    background-color: #FFFFFF;
    border: 1px solid #CBA7A7;
    border-radius: 8px;
    padding: 12px 15px;
    color: #67202D;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
}

.sidebar-btn:hover,
.sidebar-btn.active {
    background-color: #67202D;
    color: #FFFFFF;
    border-color: #67202D;
}

.content-area {
    flex: 1;
}

.dash-section {
    display: none;
}

.dash-section.active-section {
    display: block;
}

/* ORDERS DUAL COLUMN LAYOUT */
.orders-main-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.orders-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* TOP METRICS ROW */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.metric-card {
    background-color: #FFFDF9;
    border: 1px solid #E2D7CB;
    border-radius: 12px;
    padding: 18px 20px;
}

.metric-card span {
    font-size: 10px;
    font-weight: bold;
    color: #8C7B7B;
    letter-spacing: 0.5px;
}

.metric-card h2 {
    font-size: 24px;
    color: #67202D;
    margin-top: 8px;
}

/* TABLES & CARDS */
.table-card {
    background-color: #FFFDF9;
    border: 1px solid #E2D7CB;
    border-radius: 16px;
    padding: 20px 25px;
}

.table-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-card-header.center-header {
    position: relative;
    justify-content: center;
}

.table-card-header.center-header .filter-pills {
    position: absolute;
    right: 0;
}

.table-card-header h3 {
    font-size: 18px;
    color: #67202D;
}

.filter-pills {
    display: flex;
    gap: 8px;
}

.pill-btn {
    padding: 6px 14px;
    border: 1px solid #E2D7CB;
    border-radius: 20px;
    background-color: #FFFFFF;
    color: #67202D;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.pill-btn.active {
    background-color: #67202D;
    color: #FFFFFF;
    border-color: #67202D;
}

/* TABLE STYLING */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.dashboard-table th {
    text-align: left;
    padding: 10px 12px;
    color: #8C7B7B;
    font-size: 10px;
    border-bottom: 1px solid #E2D7CB;
    background-color: #FDFBF7;
}

.dashboard-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #F1ECE6;
    vertical-align: middle;
}

.sub-text {
    font-size: 10px;
    color: #8C7B7B;
}

.total-price {
    font-weight: bold;
    color: #67202D;
    text-align: right;
    font-size: 13px;
}

/* BADGES */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.badge-delivered {
    background-color: #E2F0D9;
    color: #385723;
}

.badge-ontheway {
    background-color: #FFF2CC;
    color: #B25900;
}

/* RIGHT DETAIL PANEL */
.detail-panel {
    width: 320px;
    background-color: #FFFDF9;
    border: 1px solid #E2D7CB;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.detail-header h3 {
    font-size: 16px;
    color: #67202D;
}

.product-preview-img {
    width: 100%;
    height: 180px;
    background-color: #FFFFFF;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #F1ECE6;
}

.product-preview-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-file-card {
    background-color: #FDF9F3;
    border-radius: 10px;
    padding: 12px 15px;
}

.card-tag {
    font-size: 9px;
    font-weight: bold;
    color: #8C7B7B;
    letter-spacing: 0.5px;
}

.client-file-card h4 {
    font-size: 13px;
    color: #67202D;
    margin: 4px 0;
}

.sub-info {
    font-size: 10px;
    color: #666666;
    line-height: 1.4;
}

.price-breakdown {
    border-top: 1px solid #E2D7CB;
    padding-top: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666666;
    margin-bottom: 6px;
}

.price-row.total {
    font-size: 15px;
    color: #67202D;
    margin-top: 8px;
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-action-dark {
    width: 100%;
    padding: 10px;
    background-color: #67202D;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.btn-action-light {
    width: 100%;
    padding: 10px;
    background-color: #FFFFFF;
    color: #67202D;
    border: 1px solid #E2D7CB;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

/* PRODUCT UPDATE FORM CARD */
.section-title {
    font-size: 28px;
    color: #67202D;
    text-align: center;
    margin-bottom: 25px;
}

.product-update-card {
    background-color: #FFFDF9;
    border: 1px solid #E2D7CB;
    border-radius: 20px;
    padding: 35px 40px;
}

.form-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px 30px;
    align-items: center;
}

.form-field-card {
    background-color: #FFFFFF;
    border: 1px solid #E2D7CB;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.field-label {
    font-size: 15px;
    font-weight: bold;
    color: #67202D;
    white-space: nowrap;
}

.input-control {
    width: 100%;
    max-width: 180px;
    padding: 8px 12px;
    border: 1px solid #E2D7CB;
    border-radius: 6px;
    background-color: #F9F5F0;
    font-size: 13px;
    color: #4A1516;
    outline: none;
}

.radio-group-container {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: bold;
    color: #67202D;
}

.form-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.btn-action {
    width: 110px;
    padding: 10px 0;
    border: none;
    border-radius: 20px;
    background-color: #67202D;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}
