/* --- Banner Pequeño --- */
#mwc-banner { /* (¡IDs CAMBIADOS!) */
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 340px;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: none; /* Oculto por defecto, JS lo muestra */
    box-sizing: border-box;
}

#mwc-banner h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

#mwc-banner p {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.5;
}

.mwc-buttons { /* (¡Clases CAMBIADAS!) */
    display: flex;
    gap: 10px;
}

.mwc-button {
    width: 100%;
    border: 1px solid #ccc;
    background: #f1f1f1;
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: background 0.2s;
}

.mwc-button:hover {
    background: #e9e9e9;
}

.mwc-button-primary {
    background: #0073e6;
    color: #fff;
    border-color: #0073e6;
}
.mwc-button-primary:hover {
    background: #005bb5;
}

/* --- Modal Overlay --- */
#mwc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    display: none; /* Oculto por defecto */
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#mwc-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

#mwc-modal h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
}
#mwc-modal p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.mwc-toggle-wrap {
    border-top: 1px solid #eee;
    padding: 15px 0;
}
.mwc-toggle-wrap:last-of-type {
    padding-bottom: 25px;
}

.mwc-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.mwc-toggle-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.mwc-toggle-wrap p {
    font-size: 13px;
    margin: 0;
}

.mwc-modal-buttons {
    display: flex;
    gap: 10px;
}

/* --- CSS Toggles --- */
.mwc-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.mwc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.mwc-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.mwc-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}
input:checked + .mwc-slider {
    background-color: #0073e6;
}
input:checked + .mwc-slider:before {
    transform: translateX(20px);
}
.mwc-slider.round {
    border-radius: 24px;
}
.mwc-slider.round:before {
    border-radius: 50%;
}
.mwc-switch.always-on .mwc-slider {
    background-color: #0073e6;
    opacity: 0.6;
    cursor: not-allowed;
}
