.up-container-2a833137 {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.up-emergency-bar {
    background-color: #1e3a5f;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.up-main-title {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: bold;
}

.up-emergency-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.up-em-btn {
    background-color: #d94a4a;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 8px;
    transition: background-color 0.2s, transform 0.2s;
}

.up-em-btn:hover {
    background-color: #c93b3b;
    transform: translateY(-2px);
}

.up-search-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.up-search-inner {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.up-search-input {
    width: 100%;
    padding: 15px 45px 15px 20px;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    font-size: 18px;
    outline: none;
    transition: border-color 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.up-search-input:focus {
    border-color: #1e3a5f;
}

.up-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #757575;
    font-size: 20px;
}

.up-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.up-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.up-card-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.up-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: inherit;
}

.up-card-icon {
    font-size: 24px;
    opacity: 0.9;
}

.up-card-body {
    padding: 15px 20px;
    flex-grow: 1;
}

.up-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.up-contact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.up-contact-info {
    text-align: right;
    flex-grow: 1;
    padding-left: 10px;
}

.up-contact-name {
    font-size: 16px;
    margin-bottom: 4px;
    color: #333;
}

.up-service-type {
    font-weight: bold;
}

.up-provider-name {
    font-weight: normal;
}

.up-contact-number {
    color: #666;
    font-size: 15px;
    direction: ltr;
    text-align: right;
}

.up-contact-actions {
    display: flex;
    gap: 8px;
}

.up-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.up-action-btn:hover {
    opacity: 0.8;
}

.up-action-btn.phone { background-color: #54595f; }
.up-action-btn.whatsapp { background-color: #25d366; }
.up-action-btn.email { background-color: #ff9800; }

/* Service Providers Section */
.up-service-providers-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
    width: 100%;
}

.up-section-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 25px;
}

.up-sp-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.up-empty-cat {
    color: #999;
    text-align: center;
    font-style: italic;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .up-cards-grid {
        grid-template-columns: 1fr;
    }
    .up-em-btn {
        width: 100%;
        justify-content: center;
    }
}
