/* Shared styles for Inspection and Complaint pages */
.detail-header {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.75rem;
}

.detail-subtitle {
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 1rem;
}

.detail-info-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.detail-badge {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
}

.detail-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.detail-label {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.detail-value {
    margin-bottom: 1rem;
}

.info-row {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.risk-badge-immediate {
    background-color: #dc3545;
    color: white;
}

.risk-badge-serious {
    background-color: #fd7e14;
    color: white;
}

.risk-badge-short {
    background-color: #0DAEF2;
    color: white;
}

.risk-badge-long {
    background-color: #0dcaf0;
    color: white;
}

.document-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.35rem;
    transition: all 0.2s;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    text-decoration: none;
}

.document-link:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.document-link i {
    margin-right: 0.5rem;
    color: #dc3545;
}

/* Recommended providers section */
.recommended-section {
    margin-top: 3rem;
}

.provider-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    border: none;
    transition: transform 0.2s;
    height: 100%;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.provider-card .card-body {
    padding: 1.25rem;
}

.provider-card .card-img-top {
    height: 160px;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card-img-placeholder {
    height: 160px;
    background-color: #f8f9fa;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title a {
    color: #4e73df;
    font-weight: 600;
    text-decoration: none;
}

.card-title a:hover {
    color: #2e59d9;
    text-decoration: underline;
}

.tag-badge {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    background-color: #4e73df;
    color: white;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.back-button {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #495057;
    text-decoration: none;
}

.back-button:hover {
    color: #0d6efd;
}

.back-button i {
    margin-right: 0.5rem;
}
