/* WP Pharmacy Pro - Premium Aesthetics */
:root {
    --pharmacy-primary: #ff4d4d;
    --pharmacy-secondary: #ff944d;
    --pharmacy-accent: #2ecc71;
    --pharmacy-bg: rgba(255, 255, 255, 0.85);
    --pharmacy-glass: rgba(255, 255, 255, 0.1);
    --pharmacy-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.wp-pharmacy-pro-container {
    padding: 2rem;
    background: var(--pharmacy-bg) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-direction: column;
    width: 100%;
    margin: 20px auto;
}

.wp-pharmacy-pro-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25) !important;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
}

.wp-pharmacy-pro-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-top: 1rem;
}

.wp-pharmacy-pro-table thead th {
    background: linear-gradient(135deg, var(--pharmacy-primary), var(--pharmacy-secondary));
    color: white;
    padding: 15px;
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.wp-pharmacy-pro-table thead th:first-child { border-radius: 12px 0 0 12px; }
.wp-pharmacy-pro-table thead th:last-child { border-radius: 0 12px 12px 0; }

.wp-pharmacy-pro-table tbody tr {
    background: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    transition: all 0.2s ease;
}

.wp-pharmacy-pro-table tbody tr:hover {
    background: #fffdf5;
    transform: scale(1.01);
}

.wp-pharmacy-pro-table td, .wp-pharmacy-pro-table th {
    padding: 20px 15px;
    vertical-align: middle;
    border: none;
}

.phone-link {
    color: var(--pharmacy-primary);
    font-weight: bold;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.phone-link:hover {
    background: var(--pharmacy-primary);
    color: white;
}

.view-map-btn {
    border-radius: 20px;
    padding: 8px 20px;
    text-transform: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mini-map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 15px;
    border: 1px solid #eee;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

/* Mobile Responsive - Cards */
@media (max-width: 768px) {
    .wp-pharmacy-pro-table thead {
        display: none;
    }
    
    .wp-pharmacy-pro-table tbody tr {
        display: block;
        margin-bottom: 20px;
        padding: 15px;
        border-radius: 15px;
        box-shadow: var(--pharmacy-shadow);
    }
    
    .wp-pharmacy-pro-table td, .wp-pharmacy-pro-table th {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .wp-pharmacy-pro-table td:last-child {
        border-bottom: none;
        flex-direction: column;
        align-items: stretch;
    }

    .wp-pharmacy-pro-table td::before, .wp-pharmacy-pro-table th::before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        color: #666;
        font-size: 0.8rem;
    }
}
