.pcw-widget {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    background-color: #f9f9f9;
}

.pcw-widget-title {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
}

.pcw-title-image {
    max-width: 150px;
    height: auto;
}

.pcw-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pcw-select-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pcw-select-group select {
    padding: 5px 25px 5px 5px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    
    /* Ocultar la flecha nativa */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.pcw-arrow {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 15px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
}

.pcw-arrow:hover {
    opacity: 1;
}

.pcw-date-display {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    padding: 0 10px;
}

.pcw-go-button {
    padding: 5px 15px;
    border: none;
    border-radius: 3px;
    background-color: #0073aa;
    color: #fff;
    cursor: pointer;
}

.pcw-no-posts-message {
    font-weight: bold;
    color: #cc0000;
    text-align: center;
    display: none; /* Oculto por defecto */
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.pcw-no-posts-image {
    max-width: 100px;
    height: auto;
}

.pcw-try-again-button {
    padding: 5px 15px;
    border: none;
    border-radius: 3px;
    background-color: #555;
    color: #fff;
    cursor: pointer;
}

/* Opciones de diseño */
.pcw-widget.hide-dropdowns .pcw-month-select,
.pcw-widget.hide-dropdowns .pcw-year-select {
    display: none;
}

.pcw-widget.hide-dropdowns .pcw-date-display {
    display: inline-block;
}

.pcw-widget:not(.hide-dropdowns) .pcw-date-display {
    display: none;
}

.pcw-widget.horizontal-layout .pcw-input-wrapper {
    flex-direction: row;
    flex-wrap: wrap; /* Permitir que los elementos se envuelvan si no hay espacio */
    gap: 10px;
    align-items: center;
}

.pcw-widget.horizontal-layout .pcw-select-group {
    flex-direction: row;
    align-items: center;
}

.pcw-widget.horizontal-layout .pcw-month-select {
    width: 90px; /* Ancho para el mes */
}

.pcw-widget.horizontal-layout .pcw-year-select {
    width: 60px; /* Ancho para el año */
}