/* ========== SITE EDIT PAGE STYLES ========== */
/* Page-specific styles - Dark Industrial Theme */

/* ========== PAGE CONTAINER ========== */
.site-edit-container {
    max-width: 800px;
    margin: 0.75rem auto;
    padding: 0 0.65rem;
}

/* ========== SITE EDIT CARD ========== */
.site-edit-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 188, 212, 0.1);
    border-radius: 8px;
    color: white;
    overflow: hidden;
}

.site-edit-header {
    background: rgba(0, 188, 212, 0.05);
    padding: 0.9rem 1.05rem;
    border-bottom: 1px solid rgba(0, 188, 212, 0.1);
}

.site-edit-header h2 {
    color: #00bcd4;
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.5px;
}

.site-edit-header h2 i {
    margin-right: 0.75rem;
}

.site-edit-body {
    padding: 1rem;
}

/* ========== FORM SECTION ========== */
.form-section {
    margin-bottom: 1rem;
}

.form-section-title {
    color: #00bcd4;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-section-title i {
    margin-right: 0.5rem;
}

.form-label-optional {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/* ========== FORM ROW ========== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ========== FORM FOOTER ========== */
.form-footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(0, 188, 212, 0.1);
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-group {
    display: flex;
    gap: 0.75rem;
}

/* ========== COORDINATES GROUP ========== */
.coordinates-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ========== INFO BOX ========== */
.info-box {
    background: rgba(0, 188, 212, 0.05);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.9rem;
}

.info-box-icon {
    color: #00bcd4;
    margin-right: 0.5rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .site-edit-container {
        margin: 0.4rem auto;
        padding: 0 0.35rem;
    }

    .site-edit-header {
        padding: 0.75rem 0.8rem;
    }

    .site-edit-body {
        padding: 0.75rem;
    }

    .form-section {
        margin-bottom: 0.75rem;
    }

    .form-row,
    .coordinates-group {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        gap: 0.65rem;
        padding: 0.75rem;
    }

    .btn-group {
        width: 100%;
        flex-direction: column;
    }
}

/* ========== LEAFLET MAP IN DIALOG ========== */
#site-location-picker {
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

#site-location-picker .leaflet-control-zoom {
    border: 1px solid rgba(0, 188, 212, 0.3) !important;
    border-radius: 8px !important;
    margin: 15px !important;
}

#site-location-picker .leaflet-control-zoom a {
    background: rgba(26, 32, 44, 0.95) !important;
    color: #00bcd4 !important;
    border: none !important;
}

#site-location-picker .leaflet-control-zoom a:hover {
    background: rgba(0, 188, 212, 0.15) !important;
}

#site-location-picker .leaflet-control-attribution {
    display: none !important;
}
