/* ELDVOR TECHNOLOGIES - Admin Panel Styles */

/* Admin sidebar */
.admin-sidebar {
    width: 260px;
    min-height: calc(100vh - 80px);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(51, 65, 85, 0.5);
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #94a3b8;
    transition: all 0.2s;
    font-size: 0.875rem;
    font-weight: 500;
}

.admin-sidebar-link:hover {
    background: rgba(56, 189, 248, 0.05);
    color: #e2e8f0;
}

.admin-sidebar-link.active {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
}

.admin-sidebar-link i {
    width: 20px;
    text-align: center;
}

/* Admin table styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 1rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #64748b;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.5);
}

.admin-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    color: #e2e8f0;
    font-size: 0.875rem;
}

.admin-table tr:hover td {
    background: rgba(30, 41, 59, 0.3);
}

/* Stat card */
.stat-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.5);
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-top: 0.25rem;
}

.stat-card-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Admin form */
.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

/* Status indicators */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active { background: #22c55e; }
.status-dot.inactive { background: #64748b; }
.status-dot.pending { background: #f59e0b; }

/* Order timeline */
.order-timeline {
    position: relative;
    padding-left: 2rem;
}

.order-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #334155;
}

.order-timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.order-timeline-item::before {
    content: '';
    position: absolute;
    left: -1.65rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #334155;
    border: 2px solid #0f172a;
}

.order-timeline-item.completed::before {
    background: #22c55e;
}

.order-timeline-item.current::before {
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

/* Notification badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

/* Responsive admin */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    }

    .admin-content {
        padding: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card-value {
        font-size: 1.5rem;
    }
}
