/* Custom Styles for Dashboard Match */
.dashboard-header-title { font-size: 20px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.dashboard-header-subtitle { font-size: 13px; color: #64748b; }

.btn-outline-custom { border: 1px solid #e2e8f0; color: #475569; background: #fff; font-weight: 600; font-size: 12px; padding: 8px 16px; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.btn-outline-custom:hover { background: #f8fafc; color: #032da1; }
.btn-primary-custom { background: #032da1; border: none; color: #fff; font-weight: 600; font-size: 12px; padding: 8px 20px; border-radius: 6px; box-shadow: 0 4px 6px -1px rgba(29, 78, 216, 0.2); }
.btn-primary-custom:hover { background: #1e40af; color: #fff; }

/* Stat Cards */
.stat-card-ws { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03); border: 1px solid #f1f5f9; display: flex; align-items: flex-start; gap: 15px; height: 100%; }
.stat-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.stat-icon-purple { background: #ede9fe; color: #6d28d9; }
.stat-icon-green { background: #dcfce7; color: #15803d; }
.stat-icon-yellow { background: #fef3c7; color: #b45309; }
.stat-icon-blue { background: #e0f2fe; color: #0369a1; }
.stat-icon-pink { background: #fce7f3; color: #be185d; }

.stat-info h5 { font-size: 12px; font-weight: 600; color: #64748b; margin-bottom: 4px; text-transform: capitalize; }
.stat-info h2 { font-size: 24px; font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.stat-info p { font-size: 11px; color: #94a3b8; margin: 0; }

/* Filters Row */
.filters-row { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; flex: 1; min-width: 130px; }
.filter-group label { font-size: 11px; font-weight: 600; color: #64748b; margin-bottom: 4px; }
.filter-select { height: 36px; border: 1px solid #e2e8f0; border-radius: 6px; padding: 0 30px 0 12px; font-size: 12px; color: #334155; box-shadow: 0 1px 2px rgba(0,0,0,0.02); appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 12px center; background-size: 12px; background-color: #fff; }
.search-box { position: relative; flex: 1.5; min-width: 180px; display: flex; flex-direction: column; justify-content: flex-end; }
.search-box input { height: 36px; border: 1px solid #e2e8f0; border-radius: 6px; padding-left: 12px; padding-right: 30px; font-size: 12px; width: 100%; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.search-box i { position: absolute; right: 12px; bottom: 12px; color: #94a3b8; font-size: 12px; }

/* Tabs & Table Controls */
.tabs-controls-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid #e2e8f0; padding-bottom: 10px; }
.ws-tabs { display: flex; gap: 20px; }
.ws-tab { font-size: 13px; font-weight: 600; color: #64748b; cursor: pointer; padding-bottom: 10px; border-bottom: 2px solid transparent; margin-bottom: -11px; }
.ws-tab.active { color: #032da1; border-bottom-color: #032da1; }
.ws-tab span { color: #94a3b8; font-weight: 500; font-size: 12px; margin-left: 4px; }
.ws-controls { display: flex; align-items: center; gap: 15px; }
.sort-by { font-size: 12px; color: #64748b; display: flex; align-items: center; gap: 8px; }
.sort-select { border: 1px solid #e2e8f0; border-radius: 4px; font-size: 12px; padding: 4px 8px; height: auto; }
.btn-filter { border: 1px solid #e2e8f0; background: #fff; font-size: 12px; font-weight: 600; color: #475569; padding: 6px 12px; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }

/* Table Styles */
.ws-table-card { background: #fff; border-radius: 10px; padding: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; }
.ws-table { width: 100%; margin: 0; }
.ws-table th { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; padding: 12px 15px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; letter-spacing: 0.5px; }
.ws-table td { padding: 15px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; text-align: left; }
.ws-table tr:hover { background: #f8fafc; }

.doc-icon { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; margin-right: 12px; }
.doc-purple { background: #ede9fe; color: #6d28d9; }
.doc-green { background: #dcfce7; color: #15803d; }
.doc-yellow { background: #fef3c7; color: #b45309; }
.doc-blue { background: #e0f2fe; color: #0369a1; }
.doc-pink { background: #fce7f3; color: #be185d; }

.ws-title-cell { display: flex; align-items: center; }
.ws-title-text { font-size: 13px; font-weight: 600; color: #1e293b; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.ws-subtitle-text { font-size: 11px; color: #94a3b8; }

.text-sm-bold { font-size: 12px; font-weight: 600; color: #1e293b; margin-bottom: 2px; }
.text-xs-muted { font-size: 11px; color: #64748b; }

.status-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; }
.status-published { background: #f0fdf4; color: #166534; }
.status-published .status-dot { background: #22c55e; }
.status-draft { background: #fffbeb; color: #92400e; }
.status-draft .status-dot { background: #f59e0b; }
.status-archived { background: #f1f5f9; color: #475569; }
.status-archived .status-dot { background: #94a3b8; }

.action-btns { display: flex; gap: 6px; }
.btn-action-icon { width: 28px; height: 28px; border-radius: 4px; display: flex; align-items: center; justify-content: center; border: 1px solid #e2e8f0; color: #64748b; background: #fff; cursor: pointer; transition: all 0.2s; }
.btn-action-icon:hover { background: #f1f5f9; color: #1e293b; }

/* Right Widgets */
.widget-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; margin-bottom: 20px; }
.widget-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.widget-icon { width: 36px; height: 36px; border-radius: 8px; background: #ede9fe; color: #6d28d9; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.widget-title h4 { font-size: 14px; font-weight: 700; color: #1e293b; margin: 0 0 2px 0; }
.widget-title p { font-size: 11px; color: #64748b; margin: 0; }

.step-list { margin: 0; padding: 0; list-style: none; }
.step-item { display: flex; gap: 12px; margin-bottom: 15px; position: relative; }
.step-item:not(:last-child)::after { content: ''; position: absolute; left: 11px; top: 26px; bottom: -10px; width: 2px; background: #e2e8f0; z-index: 1; }
.step-number { width: 24px; height: 24px; border-radius: 50%; background: #032da1; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; z-index: 2; position: relative; }
.step-content h5 { font-size: 12px; font-weight: 600; color: #1e293b; margin: 0 0 2px 0; }
.step-content p { font-size: 11px; color: #64748b; margin: 0; }

.btn-create-full { width: 100%; background: #032da1; border: none; color: #fff; font-weight: 600; font-size: 13px; padding: 10px; border-radius: 6px; margin-top: 10px; box-shadow: 0 4px 6px -1px rgba(29, 78, 216, 0.2); }
.btn-create-full:hover { background: #1e40af; }

.qt-list { margin: 0; padding: 0; list-style: none; }
.qt-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed #e2e8f0; }
.qt-item:last-child { border-bottom: none; }
.qt-name { font-size: 12px; font-weight: 600; color: #334155; display: flex; align-items: center; gap: 10px; }
.qt-name i { color: #64748b; font-size: 14px; width: 16px; text-align: center; }
.qt-name.other { color: #64748b; font-weight: 500; }
.qt-count { font-size: 11px; font-weight: 600; color: #032da1; background: #eff6ff; padding: 2px 8px; border-radius: 12px; }

.btn-view-all { width: 100%; border: 1px solid #e2e8f0; color: #032da1; font-weight: 600; font-size: 12px; padding: 8px; border-radius: 6px; background: #fff; margin-top: 10px; }
.btn-view-all:hover { background: #032da1; color: #f8fafc;}

.pagination-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-top: 1px solid #f1f5f9; }
.showing-text { font-size: 12px; color: #64748b; }
.pagination-controls { display: flex; align-items: center; gap: 10px; }
.page-nav { display: flex; gap: 4px; }
.page-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 12px; color: #475569; background: #fff; cursor: pointer; }
.page-btn.active { border-color: #032da1; color: #032da1; font-weight: 600; }
.per-page-select { border: 1px solid #e2e8f0; border-radius: 4px; font-size: 12px; padding: 4px 8px; color: #475569; }
