/* Daycare page specific styles */
.daycare-header {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.daycare-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.daycare-subtitle {
    color: #6c757d;
    font-weight: 500;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #f0f0f0;
}

.info-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-section {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.contact-item:hover {
    background-color: #e9ecef;
}

.contact-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0DAEF2;
    color: white;
    border-radius: 50%;
    margin-right: 1rem;
}

.contact-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.contact-content span, .contact-content a {
    font-size: 1rem;
    color: #212529;
}

.map-container {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-table {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detail-table thead {
    background-color: #0DAEF2;
    color: white;
}

.status-badge {
    border-radius: 50px;
    padding: 0.35rem 0.75rem;
    font-weight: 500;
    font-size: 0.8rem;
}

.provider-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    border: none;
    transition: transform 0.2s;
}

.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-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;
}

.nearby-section {
    margin-top: 3rem;
}

.warning-notice {
    padding: 0.75rem;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 0.25rem;
}

.info-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    color: #6c757d;
}

.info-row {
    margin-bottom: 1rem;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

/* Additional styles for the improved design */
.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4e73df;
    color: white;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-value {
    font-size: 1rem;
    color: #212529;
}

.sidebar-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4e73df;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #f0f0f0;
}

.contact-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem;
}

.map-container img {
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-img-placeholder {
    height: 160px;
    background-color: #f8f9fa;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

/* Update table header style */
.detail-table thead tr th {
    background-color: #4e73df;
    color: white;
    font-weight: 600;
    border: none;
}

/* Table row hover effect */
.detail-table tbody tr:hover {
    background-color: rgba(78, 115, 223, 0.05);
}

/* Responsive styles */
@media (max-width: 767px) {
    /* Hide Inspection Date column (first column in inspections table) */
    #inspectionstbl .table-responsive table thead tr th:first-child,
    #inspectionstbl .table-responsive table tbody tr td:first-child {
        display: none;
    }
    
    /* Hide Complaint Resolution column (first column in complaints table) */
    #complaintstbl .table-responsive table thead tr th:first-child,
    #complaintstbl .table-responsive table tbody tr td:first-child {
        display: none;
    }
}
