/* AIDAT DASHBOARD - GLOBAL STYLES */

.page-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
}

.page-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 12px 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 4.5px;
    font-size: 13px;
    margin-bottom: 12px;
}

.breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover { color: #0ea5e9; }

.breadcrumb svg {
    width: 10.5px;
    height: 10.5px;
    color: #94a3b8;
}

.breadcrumb-current {
    color: #0f172a;
    font-weight: 500;
}

.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.page-title-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 9px -2px rgba(14, 165, 233, 0.3);
}

.page-title-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.page-title-content h1 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.page-title-content p {
    font-size: 10px;
    color: #64748b;
    margin: 1.5px 0 0 0;
}

.info-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    overflow: hidden;
}

.info-card-header {
    padding: 12px 16px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-title svg {
    width: 20px;
    height: 20px;
    color: #0ea5e9;
}

.info-card-body {
    padding: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 2px 8px -2px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.btn-danger {
    color: white;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}

.btn-secondary {
    color: #374151;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

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

.data-table th {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    background: #f8fafc;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.data-table td {
    font-size: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
}

.data-table tr:hover {
    background: #f8fafc;
}

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

.badge-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
}

.badge-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
}

.badge-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
}

.badge-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
}

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

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.stat-icon svg { width: 20px; height: 20px; }

.stat-icon-sky { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); color: #0ea5e9; }
.stat-icon-emerald { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); color: #10b981; }
.stat-icon-rose { background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%); color: #f43f5e; }
.stat-icon-amber { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); color: #f59e0b; }

.stat-value { font-size: 20px; font-weight: 700; color: #0f172a; }
.stat-label { font-size: 12px; color: #64748b; }

.alert {
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); border: 2px solid #a7f3d0; color: #065f46; }
.alert-warning { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); border: 2px solid #fde68a; color: #92400e; }
.alert-danger { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); border: 2px solid #fecaca; color: #991b1b; }

.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.empty-state-icon svg { width: 28px; height: 28px; color: #94a3b8; }

@media (max-width: 768px) {
    .page-inner { padding: 10px 12px; }
    .page-header { flex-direction: column; align-items: stretch; }
    .stats-grid { grid-template-columns: 1fr; }
    .info-card-body { padding: 16px; }
}
