/* Main container */
.wp-block[data-type="tiempo/widget"] {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Title of the entire block */
.wp-block[data-type="tiempo/widget"] .weather-widget-title {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #0073aa;
    text-align: center;
}

/* Panel body */
.wp-block[data-type="tiempo/widget"] .components-panel__body {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.wp-block[data-type="tiempo/widget"] .components-panel__body.is-opened {
    background-color: #f4f6f8;
    border-left: 3px solid #0085ba;
}

/* Panel title */
.wp-block[data-type="tiempo/widget"] .components-panel__body > .components-panel__body-title {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: #555;
    margin: 0 0 8px 0;
}
.wp-block[data-type="tiempo/widget"] .components-panel__body-title,
.wp-block[data-type="tiempo/widget"] .components-panel__body-title:hover,
.wp-block[data-type="tiempo/widget"] .components-panel__body-title:focus-within {
    background-color: transparent !important;
}
.wp-block[data-type="tiempo/widget"] .components-panel__body-title .components-button {
    box-shadow: none !important;
    outline: none !important;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-size: 14px;
    padding: 0;
    margin: 0;
    line-height: 1.5;
    color: inherit;
}
.wp-block[data-type="tiempo/widget"] .components-panel__body-title .components-button:hover {
    background-color: transparent !important;
}

/* Headings inside panels */
.wp-block[data-type="tiempo/widget"] h5 {
    font-size: 13px;
    font-weight: 600;
    margin: 16px 0 8px 0;
    color: #1e1e1e;
    font-family: Arial, sans-serif;
}

/* Input styles */
.wp-block[data-type="tiempo/widget"] .components-text-control__input,
.wp-block[data-type="tiempo/widget"] .components-select-control__input {
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    width: 100%;
}
.wp-block[data-type="tiempo/widget"] .components-text-control__input {
    padding: 8px 12px;
}
.wp-block[data-type="tiempo/widget"] .components-select-control__input {
    padding: 6px 12px;
    height: 36px;
    line-height: 1.2;
    overflow: visible;
}
.wp-block[data-type="tiempo/widget"] .components-select-control {
    margin-bottom: 16px;
}

/* Toggle controls */
.wp-block[data-type="tiempo/widget"] .components-toggle-control {
    margin-bottom: 8px;
}
.wp-block[data-type="tiempo/widget"] .components-toggle-control .components-base-control__field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}

/* Radio controls */
.wp-block[data-type="tiempo/widget"] .components-radio-control__option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.wp-block[data-type="tiempo/widget"] .components-radio-control__label {
    margin-left: 8px;
    font-size: 14px;
}

/* Color picker */
.wp-block[data-type="tiempo/widget"] .components-color-picker {
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.wp-block[data-type="tiempo/widget"] .components-circular-option-picker__option-svg {
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    margin-right: 5px;
}

/* Save button */
.wp-block[data-type="tiempo/widget"] .components-button.is-primary {
    background: #0085ba;
    border-color: #006799;
    color: #fff;
    text-shadow: none;
    height: auto;
    padding: 8px 50px;
    font-size: 16px;
    border-radius: 4px;
}
.wp-block[data-type="tiempo/widget"] .components-button.is-primary:hover {
    background: #006799;
    border-color: #004f72;
}
.wp-block[data-type="core/widget-area"] .weather-widget-preview-wrap .components-panel__body.is-opened{
    padding:16px;
}