/* ========================================
   Custom Admin Styles - Centralized CSS
   ======================================== */
/* =========================
   List Pages - Common Styles
   ========================= */
/* Table Buttons */
#table .btn {
    margin: 0 2px;
}
/* Stats Cards */
.stats-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 20px;
}
.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.stats-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}
.stats-card p {
    font-size: 14px;
    margin: 0;
}
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}
/* =========================
   Form Pages - Common Styles
   ========================= */
/* Map Components */
.map-card {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
    background: #fff;
    height: 100%;
}
.map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(180deg, #fafbff, #f6f7fb);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.map-header .title {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}
#country-map {
    height: 500px;
    width: 100%;
}
/* Form Sections */
.form-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.form-icon {
    font-size: 1.2rem;
    color: #556ee6;
}
/* Leaflet Geocoder Customization */
.leaflet-control-geocoder {
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08) !important;
    border: 1px solid rgba(0, 0, 0, .06) !important;
    border-radius: 10px !important;
    overflow: hidden;
}
.leaflet-control-geocoder .leaflet-control-geocoder-form input {
    min-width: 320px;
    border: none !important;
    padding: 10px 12px !important;
    font-size: 14px;
}
/* Image Upload Components */
.image-upload-container {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
}
.image-upload-container:hover {
    border-color: #556ee6;
    background: #f0f4ff;
}
.image-upload-container.dragover {
    border-color: #556ee6;
    background: #e0e7ff;
    transform: scale(1.02);
}
.image-preview-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}
.image-preview {
    max-width: 100%;
    max-height: 250px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}
.remove-image-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}
.remove-image-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}
.upload-icon {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 10px;
}
.upload-text {
    color: #6b7280;
    font-size: 14px;
}
.upload-text strong {
    color: #556ee6;
}
/* =========================
   Establishment Specific
   ========================= */
/* Service Items */
.service-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.service-item:hover {
    border-color: #556ee6;
    box-shadow: 0 4px 12px rgba(85, 110, 230, 0.1);
}
.service-item-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    margin: -20px -20px 15px -20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-add-service {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: transform 0.2s;
}
.btn-add-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}
/* =========================
   Utility Classes
   ========================= */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
