/* Warranty Enhanced Plugin Styles */

.warranty-claims-view .card,
.warranty-dashboard-view .card {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border: none;
}

.warranty-dashboard-view .dashboard-icon-widget {
    transition: transform 0.3s ease;
}

.warranty-dashboard-view .dashboard-icon-widget:hover {
    transform: translateY(-5px);
}

.badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0d6efd;
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.claim-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.priority-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Status colors */
.bg-pending { background-color: #ffc107; color: #000; }
.bg-under-review { background-color: #17a2b8; color: #fff; }
.bg-approved { background-color: #28a745; color: #fff; }
.bg-rejected { background-color: #dc3545; color: #fff; }
.bg-in-progress { background-color: #007bff; color: #fff; }
.bg-completed { background-color: #28a745; color: #fff; }
.bg-cancelled { background-color: #6c757d; color: #fff; }

/* Priority colors */
.priority-low { background-color: #17a2b8; color: #fff; }
.priority-medium { background-color: #ffc107; color: #000; }
.priority-high { background-color: #fd7e14; color: #fff; }
.priority-urgent { background-color: #dc3545; color: #fff; }

/* Dashboard widgets */
.widget-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-icon.bg-primary { background-color: #007bff; }
.widget-icon.bg-success { background-color: #28a745; }
.widget-icon.bg-warning { background-color: #ffc107; }
.widget-icon.bg-danger { background-color: #dc3545; }

.widget-details h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.widget-details span {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-item::before {
        left: -14px;
    }
    
    .widget-details h1 {
        font-size: 1.5rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease;
}

/* Table enhancements */
.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,0.02);
}

/* Loading spinner */
.spinner-border {
    width: 2rem;
    height: 2rem;
    border-width: 0.25em;
}