.brd-dashboard-container {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 25px 3%;
    margin-top: 20px;
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    
    /* Make it full width of the screen */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.brd-dashboard-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.brd-dashboard-header h3 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 600;
}

.brd-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.brd-stat-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.brd-stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.brd-stat-box .brd-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.brd-stat-box .brd-stat-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.brd-recent-orders {
    background: #fff;
}

/* Animated Brand Title */
.brd-brand-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    background: linear-gradient(90deg, #2563eb, #10b981, #2563eb);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: brd-shine 3s linear infinite;
}

@keyframes brd-shine {
    to {
        background-position: 200% center;
    }
}

.brd-recent-orders h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #111827;
    font-weight: 600;
}

.brd-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

/* Custom Visible Scrollbar */
.brd-table-responsive::-webkit-scrollbar {
    height: 10px;
}
.brd-table-responsive::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 5px;
}
.brd-table-responsive::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}
.brd-table-responsive::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.brd-recent-orders table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px; /* Increased to accommodate 12 columns */
}

.brd-recent-orders th,
.brd-recent-orders td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.brd-recent-orders th {
    background: #f9fafb;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brd-recent-orders td {
    color: #374151;
    font-size: 14px;
    vertical-align: middle;
}

.brd-recent-orders tbody tr:hover {
    background: #f9fafb;
}

.brd-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 1.5;
}

.brd-status-completed { background: #d1fae5; color: #065f46; }
.brd-status-processing { background: #dbeafe; color: #1e40af; }
.brd-status-pending { background: #fef3c7; color: #92400e; }
.brd-status-cancelled { background: #fee2e2; color: #b91c1c; }
.brd-status-refunded { background: #f3f4f6; color: #374151; }
.brd-status-failed { background: #fca5a5; color: #7f1d1d; }
.brd-status-on-hold { background: #ffedd5; color: #c2410c; }
.brd-status-default { background: #f3f4f6; color: #374151; }

.brd-view-order {
    background: transparent;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.brd-view-order:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Modal Styling */
.brd-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}
.brd-modal-box {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}
.brd-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brd-modal-header h3 {
    margin: 0;
    font-size: 18px;
}
.brd-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}
.brd-modal-body {
    padding: 20px;
    overflow-y: auto;
}

.brd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.brd-form-group {
    margin-bottom: 15px;
}
.brd-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
}
.brd-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}
.brd-input[readonly], .brd-input[disabled] {
    background: #f3f4f6;
    cursor: not-allowed;
}

.brd-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.brd-items-table th, .brd-items-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.brd-items-table th {
    background: #f9fafb;
    font-weight: 600;
}

.brd-btn {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}
.brd-btn-primary {
    background: #3b82f6;
    color: #fff;
}
.brd-btn-primary:hover {
    background: #2563eb;
}

.brd-val-display {
    padding: 6px 0;
    font-size: 14px;
    color: #111827;
    min-height: 20px;
}
.brd-hidden {
    display: none !important;
}
