/* ============================================================================
   GENZ OFFICIAL ADMIN PORTAL MINIMALIST STYLESHEET
   ============================================================================ */

/* Custom Font Family: Brown Sugar */
@font-face {
    font-family: 'Brown Sugar';
    src: url('https://genz-official.com/fonts/brown-sugar.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Base Styles */
body {
    background-color: #faf9f6;
    color: #000000;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #faf9f6;
}
::-webkit-scrollbar-thumb {
    background: #d0d0d0;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Apply Custom Editorial Display Font */
.logo, 
h2.font-serif, 
h3.font-serif, 
h4.font-serif,
.modal-card h3 {
    font-family: 'Brown Sugar', Georgia, serif !important;
}

/* Logo Alignment */
.logo {
    font-size: 32px !important;
    letter-spacing: 1px !important;
    line-height: 1;
    padding-top: 4px;
}

/* Sidebar Nav Items */
.nav-item {
    position: relative;
    color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.nav-item:hover {
    color: #000000;
    background-color: rgba(0, 0, 0, 0.02);
}
.nav-item.active {
    color: #000000;
    background-color: rgba(0, 0, 0, 0.04);
    border-left: 2px solid #000000;
}
.nav-item i {
    transition: transform 0.3s ease;
}
.nav-item:hover i {
    transform: translateX(2px);
}

/* Product Thumbnail */
.prod-thumbnail {
    width: 44px;
    height: 56px;
    object-fit: cover;
    background-color: #f5f5f3;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Category & Status Badges */
.badge-category {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    background-color: #f5f5f3;
    color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.badge-status {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    border: 1px solid transparent;
}
.badge-status.paid {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-color: rgba(46, 125, 50, 0.1);
}
.badge-status.unpaid {
    background-color: #fff8e1;
    color: #f57f17;
    border-color: rgba(245, 127, 23, 0.1);
}

/* Table Hover State */
tr {
    transition: background-color 0.2s ease;
}
tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 6px;
}
.btn-action {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.6);
}
.btn-action.edit:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}
.btn-action.delete:hover {
    background-color: #d32f2f;
    color: #ffffff;
    border-color: #d32f2f;
}

/* Shade circles */
.shades-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.shade-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

/* Auth Card transitions */
.auth-card {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Modal Fade Animation */
.modal-overlay {
    transition: opacity 0.3s ease;
}
.modal-card {
    transform: scale(0.97);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.modal-overlay:not(.hidden) .modal-card {
    transform: scale(1);
}

/* Toggle switch for slide active */
#slideActive:checked ~ .toggle-track { background-color: #000; }
#slideActive:checked ~ .toggle-thumb { transform: translateX(20px); }
.toggle-track { background-color: rgba(0,0,0,0.12); }
