/* Maps by G - Admin Styles */

.mbyg-settings-wrap {
    max-width: 1400px;
}

.mbyg-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .mbyg-settings-grid {
        grid-template-columns: 1fr;
    }
}

.mbyg-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.mbyg-card h2 {
    margin-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #c3c4c7;
}

.mbyg-card h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.mbyg-card h4 {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 13px;
}

.mbyg-settings-table th {
    width: 120px;
    padding: 12px 10px 12px 0;
    vertical-align: middle;
}

.mbyg-settings-table td {
    padding: 8px 10px;
}

.mbyg-settings-table input[type="range"] {
    width: 200px;
    vertical-align: middle;
}

.mbyg-settings-table #mbyg-zoom-value {
    display: inline-block;
    margin-left: 10px;
    font-weight: 600;
    min-width: 24px;
}

.mbyg-shortcode-output {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0f0f1;
    padding: 16px;
    border-radius: 4px;
    margin-top: 12px;
}

.mbyg-shortcode-output code {
    flex: 1;
    background: #fff;
    padding: 12px;
    border-radius: 4px;
    display: block;
    word-break: break-all;
    font-size: 13px;
    line-height: 1.6;
}

.mbyg-code {
    background: #23282d;
    color: #f0f0f1;
    padding: 12px 16px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.mbyg-attributes-table {
    margin-top: 16px;
}

.mbyg-attributes-table th,
.mbyg-attributes-table td {
    padding: 10px 12px;
    text-align: left;
}

.mbyg-attributes-table code {
    background: #f0f0f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.mbyg-attributes-table tbody tr:nth-child(odd) {
    background: #f9f9f9;
}

.mbyg-usage-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.mbyg-usage-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f1;
}

.mbyg-usage-list li:last-child {
    border-bottom: none;
}

.mbyg-usage-list .dashicons {
    color: #00a32a;
}

/* Map preview container */
#mbyg-preview-map {
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 782px) {
    .mbyg-settings-table th {
        display: block;
        width: 100%;
        padding-bottom: 4px;
    }
    
    .mbyg-settings-table td {
        display: block;
        padding-left: 0;
    }
    
    .mbyg-shortcode-output {
        flex-direction: column;
    }
    
    .mbyg-shortcode-output code {
        width: 100%;
    }
}
