/* Request Detail Styles */
.request-detail-container {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Info Cards */
.info-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.info-card .card-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
    font-weight: 600;
}

.info-card .card-body {
    padding: 1.5rem;
}

.info-card h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-card p {
    color: #212529;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.info-card .bg-light {
    background-color: #f8f9fa !important;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

/* Status and Priority Badges */
.status-badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-badge {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #007bff, #e9ecef);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007bff;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px #e9ecef;
}

.timeline-item h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-item .text-muted {
    font-size: 0.8rem;
}

/* Action Buttons */
.action-buttons {
    position: sticky;
    top: 20px;
}

.action-buttons .card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.action-buttons .card-header {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: #ffffff;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
}

.action-buttons .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
}

/* Document Preview */
.document-preview {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    background: #f8f9fa;
}

/* Quick Stats */
.quick-stats .card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quick-stats .card-header {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: #ffffff;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
}

.quick-stats h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.quick-stats .text-primary {
    color: #007bff !important;
}

.quick-stats .text-info {
    color: #17a2b8 !important;
}

/* Badge Colors */
.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-success {
    background-color: #28a745;
    color: #ffffff;
}

.badge-info {
    background-color: #17a2b8;
    color: #ffffff;
}

.badge-danger {
    background-color: #dc3545;
    color: #ffffff;
}

.badge-primary {
    background-color: #007bff;
    color: #ffffff;
}

.badge-secondary {
    background-color: #6c757d;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .action-buttons {
        position: static;
        margin-top: 1.5rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline::before {
        left: 0.5rem;
    }
    
    .timeline-item::before {
        left: -1.25rem;
    }
}

@media (max-width: 576px) {
    .info-card .card-body {
        padding: 1rem;
    }
    
    .status-badge {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
    
    .priority-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}
