.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #d4500f;
    box-shadow: 0 4px 12px rgba(236, 91, 19, 0.3);
}

.btn-secondary {
    background-color: white;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.btn-success {
    background-color: var(--shell-green);
    color: white;
}

.btn-success:hover {
    background-color: #008a40;
}

.btn-dark {
    background-color: #0f172a;
    color: white;
}

.btn-dark:hover {
    background-color: #1e293b;
}

.btn-outline {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
}

.btn-icon .material-symbols-outlined {
    font-size: 20px;
}

.btn-link {
    background: none;
    padding: 0;
    color: var(--primary);
    font-weight: 600;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Section Title */
.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--shell-red);
    border-radius: 2px;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .section-title::before {
        height: 20px;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

.card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

@media (min-width: 640px) {
    .card {
        border-radius: 14px;
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .card {
        border-radius: 16px;
        padding: 24px;
    }
}

.card-hover:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

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

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

@media (min-width: 640px) {
    .card-title {
        font-size: 16px;
    }
}

.card-body {
    color: #475569;
    font-size: 14px;
}

.card-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon .material-symbols-outlined {
    font-size: 20px;
}

@media (min-width: 640px) {
    .card-icon {
        width: 44px;
        height: 44px;
    }
    
    .card-icon .material-symbols-outlined {
        font-size: 22px;
    }
}

@media (min-width: 768px) {
    .card-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    
    .card-icon .material-symbols-outlined {
        font-size: 24px;
    }
}

.card-icon.primary {
    background: rgba(236, 91, 19, 0.1);
    color: var(--primary);
}

.card-icon.success {
    background: rgba(86, 227, 65, 0.1);
    color: var(--shell-green);
}

.card-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.card-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.card-icon.info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

/* KPI Cards */
.kpi-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.kpi-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
}

.kpi-value {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.kpi-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-top: 6px;
}

.kpi-change.positive { color: var(--shell-green); }
.kpi-change.negative { color: #ef4444; }

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 480px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) {
    .kpi-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .kpi-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.kpi-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-icon .material-symbols-outlined {
    font-size: 18px;
}

@media (min-width: 640px) {
    .kpi-card {
        padding: 18px;
    }
    
    .kpi-value {
        font-size: 28px;
    }
    
    .kpi-icon {
        width: 40px;
        height: 40px;
    }
    
    .kpi-icon .material-symbols-outlined {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .kpi-card {
        padding: 20px;
    }
    
    .kpi-label {
        font-size: 13px;
    }
    
    .kpi-value {
        font-size: 32px;
    }
    
    .kpi-change {
        font-size: 13px;
    }
}

.product-card {
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

.product-card-image {
    height: 160px;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-active {
    background: var(--shell-green);
    color: white;
}

.badge-featured {
    background: var(--primary);
    color: white;
}

.badge-pending {
    background: #f59e0b;
    color: white;
}

.product-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.product-card-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.product-card-label {
    color: #64748b;
}

.product-card-value {
    font-weight: 600;
    color: #0f172a;
}

.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .table-container {
        border-radius: 16px;
    }
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 768px) {
    .table-header {
        padding: 16px 20px;
    }
}

.table-title {
    font-size: 15px;
    font-weight: 700;
}

@media (min-width: 768px) {
    .table-title {
        font-size: 16px;
    }
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.table-search input {
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    width: 160px;
}

.table-filter {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #f8fafc;
}

th {
    padding: 12px 10px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    padding: 12px 10px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
}

tr:hover {
    background-color: #f8fafc;
}

@media (min-width: 640px) {
    th {
        padding: 14px 12px;
        font-size: 11px;
    }
    
    td {
        padding: 14px 12px;
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    th {
        padding: 16px;
        font-size: 12px;
    }
    
    td {
        padding: 16px;
        font-size: 14px;
    }
}

thead {
    background-color: #f8fafc;
}

th {
    padding: 14px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 14px;
}

tr:hover {
    background-color: #f8fafc;
}

.table-asset {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-asset-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(236, 91, 19, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.table-asset-name {
    font-weight: 600;
    color: #0f172a;
}

.table-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.table-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.table-status.success {
    background: #56e341;
    color: #003139;
}

.table-status.success::before {
    background: #003139;
}

.table-status.warning {
    background: #fef3c7;
    color: #92400e;
}

.table-status.warning::before {
    background: #d97706;
}

.table-status.danger {
    background: #fee2e2;
    color: #991b1b;
}

.table-status.danger::before {
    background: #dc2626;
}

.table-amount {
    font-weight: 600;
}

.table-amount.positive {
    color: var(--shell-green);
}

.table-amount.negative {
    color: #ef4444;
}

.table-empty {
    padding: 48px;
    text-align: center;
    color: #64748b;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.pagination-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.alert-icon {
    font-size: 20px;
}

.alert-success {
    background: #56e341;
    color: #003139;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

.progress {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-bar.primary {
    background: var(--primary);
}

.progress-bar.success {
    background: var(--shell-green);
}

.progress-bar.warning {
    background: #f59e0b;
}

.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.tab:hover {
    color: #0f172a;
}

.tab.active {
    color: var(--primary);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

/* Quick Action Cards */
.quick-action-card {
    background: white;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
}

.quick-action-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.quick-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #56e341, #4cd632);
}

.quick-action-icon .material-symbols-outlined {
    font-size: 22px;
    color: white;
}

.quick-action-title {
    font-weight: 600;
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 2px;
}

.quick-action-desc {
    font-size: 11px;
    color: #64748b;
}

@media (min-width: 640px) {
    .quick-action-card {
        padding: 16px;
    }
    
    .quick-action-icon {
        width: 48px;
        height: 48px;
    }
    
    .quick-action-title {
        font-size: 14px;
    }
    
    .quick-action-desc {
        font-size: 12px;
    }
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 91, 19, 0.1);
}

.form-select {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
}
