/* Besterz Softwares Professional UI Framework - Modernized */
:root {
    --besterz-primary: #4f46e5;
    --besterz-primary-light: #818cf8;
    --besterz-primary-dark: #3730a3;
    --besterz-secondary: #64748b;
    --besterz-success: #10b981;
    --besterz-warning: #f59e0b;
    --besterz-danger: #ef4444;
    --besterz-bg: #f3f4f6;
    --besterz-card-bg: #ffffff;
    --besterz-text: #111827;
    --besterz-text-light: #6b7280;
    --besterz-border: #e5e7eb;
    --besterz-radius: 12px;
    --besterz-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --besterz-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --besterz-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.besterz-dashboard-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--besterz-bg);
    color: var(--besterz-text);
    padding: 32px;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout Components */
.besterz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.besterz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.besterz-card {
    background: var(--besterz-card-bg);
    border-radius: var(--besterz-radius);
    border: 1px solid var(--besterz-border);
    box-shadow: var(--besterz-shadow-sm);
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.besterz-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--besterz-shadow-lg);
    border-color: var(--besterz-primary-light);
}

/* Typography */
.besterz-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    color: var(--besterz-text);
    letter-spacing: -0.025em;
}

.besterz-subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--besterz-text);
}

/* Stat Cards */
.besterz-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.besterz-stat-label {
    color: var(--besterz-text-light);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tables */
.besterz-table-container {
    overflow-x: auto;
    background: white;
    border-radius: var(--besterz-radius);
    border: 1px solid var(--besterz-border);
    box-shadow: var(--besterz-shadow-sm);
}

.besterz-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.besterz-table th {
    background: #f9fafb;
    padding: 16px;
    font-weight: 600;
    color: var(--besterz-text-light);
    border-bottom: 1px solid var(--besterz-border);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.besterz-table td {
    padding: 16px;
    border-bottom: 1px solid var(--besterz-border);
    font-size: 0.875rem;
}

.besterz-table tr:last-child td {
    border-bottom: none;
}

.besterz-table tr:hover td {
    background-color: #f9fafb;
}

/* Buttons */
.besterz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    font-size: 0.875rem;
    gap: 8px;
}

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

.besterz-btn-primary:hover {
    background: var(--besterz-primary-dark);
    transform: scale(1.02);
}

.besterz-btn-outline {
    background: white;
    border: 1px solid var(--besterz-border);
    color: var(--besterz-text);
}

.besterz-btn-outline:hover {
    background: var(--besterz-bg);
    border-color: var(--besterz-secondary);
}

/* Status Badges */
.besterz-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.badge-pending { background: #fef3c7; color: #92400e; }
.badge-active { background: #d1fae5; color: #065f46; }
.badge-completed { background: #dbeafe; color: #1e40af; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-new { background: #e0f2fe; color: #0369a1; }

/* Forms */
.besterz-form-group {
    margin-bottom: 1.5rem;
}

.besterz-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.besterz-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--besterz-border);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.besterz-input:focus {
    outline: none;
    border-color: var(--besterz-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Utility */
.dashicons {
    vertical-align: middle;
    margin-top: -2px;
}
