#reproductormeditacionapp {
    :root {
        --primary-color: #09757a; /* Emerald-500 */
        --primary-dark-color: #09757a; /* Emerald-600 */
        --secondary-color: #111827; /* Gray-900 */
        --secondary-dark-color: #1F2937; /* Gray-800 */
        --light-bg-color: #FFFFFF; /* Blanco para fondos de tarjetas */
        --light-gray-100: #F3F4F6; /* Gray-100 */
        --light-gray-200: #ffffffad; /* Gray-200 */
        --light-gray-300: #D1D5DB; /* Gray-300 */
        --light-gray-500: #6B7280; /* Gray-500 */
        --light-gray-700: #374151; /* Gray-700 (deducido de algunas sombras/textos) */
        --light-gray-800: #1F2937; /* Gray-800 */
        --border-color: #E5E7EB; /* Gray-200 para bordes generales */
        --hover-bg-gray-50: #F9FAFB; /* Gray-50 para hover */
        --shadow-color: rgba(0, 0, 0, 0.1); /* Sombra suave */
    }

    /* Estilos específicos para la pantalla del reproductor (fondo oscuro) */
    .meditation-plugin-container.meditation-player-active {
        background-color: #1a1a1a; /* Fondo oscuro para el reproductor */
        color: #ffffff;
    }
    
   
.meditation-plugin-container.hidden {
    display: none;
}

    .meditation-screen {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        color: #333;
    }
    .meditation-screen.meditation-player-screen {
        background-color: #1a1a1a; /* Fondo oscuro para el reproductor */
        color: #ffffff;
    }
    .hidden {
        display: none !important; /* Usar !important para asegurar que Tailwind no lo sobrescriba si la clase se usa junto a utilidades Tailwind */
    }
    
    .wpcompletebutton {
    text-align: center;
}

    .meditation-close-button {
        font-size: 2rem;
        cursor: pointer;
        color: #333;
    }
    .meditation-player-screen .meditation-close-button {
        color: #fff;
    }
    .meditation-duration-item, .meditation-preparation-item, .meditation-bell-item, .meditation-interval-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 15px 20px;
        margin-bottom: 15px;
        background-color: white;
        border-radius: 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        cursor: pointer;
        transition: background-color 0.2s;
        gap: 12px; /* Añade espacio entre el icono y el texto (puedes ajustar este valor) */
    }
    /*.meditation-duration-item:hover, .meditation-preparation-item:hover, .meditation-bell-item:hover, .meditation-interval-item:hover,
    .meditation-time-option-button:hover, .meditation-bell-option-button:hover, .meditation-interval-option-button:hover:not(.meditation-disabled-button),
    .meditation-duration-option-button:hover:not(.meditation-disabled-button)
        background-color: var(--hover-bg-gray-50);
    }*/
    .meditation-preparation-screen .meditation-time-option-button,
    .meditation-bell-screen .meditation-bell-option-button,
    .meditation-interval-screen .meditation-interval-option-button,
    .meditation-duration-screen .meditation-duration-option-button { /* Added for duration options */
        width: 100%;
        padding: 15px 20px;
        margin-bottom: 15px;
        background-color: #f9f9f9;
        border-radius: 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        font-size: 1.1rem;
        text-align: center;
        cursor: pointer;
    }
    .meditation-bell-option-button.selected, .meditation-time-option-button.selected, .meditation-interval-option-button.selected,
    .meditation-duration-option-button.selected { /* Added for duration options */
        background-color: #09757A; /* Color turquesa claro para seleccionado */
        color: #09757A; /* Texto turquesa oscuro */
    }
    .meditation-start-button, .meditation-assign-button, .meditation-choose-bell-button, .meditation-set-interval-button, .iralpaso {
        width: 100%;
        padding: 1rem 2rem;
        background-color: #000;
        color: #fff;
        border-radius: 15px;
        font-size: 1.2rem;
        font-weight: 600;
        cursor: pointer;
        margin-top: auto; /* Empuja el botón hacia abajo */
    }
    .meditation-player-button {
        width: 80%;
        padding: 15px;
        background-color: #111827;
        color: #ffffff75;
        border-radius: 15px;
        font-size: 1.2rem;
        font-weight: 600;
        cursor: pointer;
        margin-top: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        transition: background-color 0.2s, transform 0.1s;
        max-width: 300px;
    }
    .meditation-player-button:hover {
        background-color: #1118275e;
        transform: translateY(-2px);
    }
    
    #countdownTimer{
        background-color: #1118275e;
        color: #ffffff75;
    }
    .meditation-bell-image {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin: 0 10px;
        cursor: pointer;
        opacity: 0.5;
        transition: opacity 0.2s, transform 0.2s;
        padding: 10px;
    }
    .meditation-bell-image.selected {
        border: 1px solid #0f766e;
        border-radius: 0.75rem;
        opacity: 1;
        transform: scale(1.1);
    }

    .bell-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        padding: 10px;
        transition: all 0.2s ease;
        flex: 1;
        min-width: 90px;
        max-width: 120px;
        box-sizing: border-box;
    }

    .bell-option p {
        font-size: 0.875rem;
        color: var(--secondary-color);
        margin-top: 10px;
        margin-bottom: 0;
    }

    .meditation-volume-icon {
        width: 24px;
        height: 24px;
        vertical-align: middle;
        margin-right: 5px;
    }

    /* Estilos para botones deshabilitados */
    .meditation-disabled-button {
        opacity: 0.6;
        cursor: not-allowed !important;
        background-color: #e0e0e0; /* Un color de fondo para deshabilitado */
    }
    .meditation-disabled-button:hover {
        background-color: #e0e0e0 !important; /* Mantener el color de fondo base en hover */
    }
    /* Estilo para el mensaje de intervalo y duración predefinida */
    .meditation-message-text { /* Renamed from interval-message to be more general */
        color: #0f172a; /* Color de texto gris */
        font-size: 0.9rem;
        margin-top: 10px;
        text-align: center;
        padding: 0 20px;
        margin-bottom: 0px;
    }
 
.meditation-message-text:not(.hidden) {
    margin-bottom: 80px;
}

    
    /* Grid for duration options */
    .meditation-duration-options-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Responsive grid */
        gap: 5px;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        margin-bottom: 10px;
    }
    /* Styles for the meditation active warning */
    #meditation-active-warning { /* Changed ID and class below */
        background-color: #fff3cd; /* Light warning yellow */
        border: 1px solid #ffeeba;
        color: #856404;
        padding: 15px;
        border-radius: 15px;
        margin-top: 80px; /* Adjust as needed */
        text-align: center;
        width: 90%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    #meditation-active-warning p {
        margin-bottom: 15px;
        font-size: 1.1rem;
        font-weight: 500;
        color: #856404; /* Darker text for warning */
    }
    #meditation-active-warning .meditation-warning-button { /* Changed class */
        background-color: #f7b600; /* Orange-yellow for the button */
        color: #fff;
        padding: 10px 20px;
        border-radius: 10px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s;
        width: auto; /* Allow button to size to content */
        display: inline-block; /* To allow text-align center */
    }
    #meditation-active-warning .meditation-warning-button:hover { /* Changed class */
        background-color: #e0a800; /* Darker orange-yellow on hover */
    }

    /* mios */
    .meditation-assign-button {
        background-color: var(--secondary-color);
        color: var(--light-bg-color);
        font-weight: bold;
        border-radius: 0.75rem;
        margin-top: 30px;
        text-transform: uppercase;
    }

    /* ===== Espaciado vertical y horizontal ===== */
    .mt-20 { margin-top: 1.5rem; }
    .mb-2 { margin-bottom: 0.5rem; }
    .mb-4 { margin-bottom: 1rem; }
    .mb-6 { margin-bottom: 1.5rem}
    .mb-8 { margin-bottom: 2rem; }
    /*.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }*/
    .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
    .px-8 { padding-left: 2rem; padding-right: 2rem; }

    /* ===== Tamaño ===== */
    .w-full { width: 100%; }
    .w-6 { width: 1.5rem; }
    .h-6 { height: 1.5rem; }
    .text-sm { font-size: 0.875rem; }
    .text-lg { font-size: 1.125rem; }
    .text-xl { font-size: 1.25rem; line-height: 1.8rem;}
    .text-2xl { font-size: 1.5rem; }
    .text-3xl { font-size: 1.875rem; }
    .text-6xl { font-size: 3.75rem; }

    /* ===== Tipografía ===== */
    .font-normal {font-weight: 400 !important;}
    .font-medium { font-weight: 500; }
    .font-semibold { font-weight: 600; }
    .font-bold { font-weight: 700; }
    .text-center { text-align: center; }
    

    /* ===== Flexbox y alineación ===== */
    .flex { display: flex; }
    .flex-col { flex-direction: column; }
    .items-center { align-items: center; }
    .justify-between { justify-content: space-between; }
    .justify-center { justify-content: center; }

    /* ===== Otros ===== */
    .relative { position: relative; }
    .hidden { display: none; }
    .block { display: block; }
    .rounded-2xl { border-radius: 1rem; }
    .bg-gray-800 { background-color: #1f2937; }
    .text-gray-600 { color: #4b5563; }
    .cursor-pointer { cursor: pointer; }

    /* Para SVGs como iconos */
    .w-5 { width: 1.25rem; }
    .h-5 { height: 1.25rem; }
    .mr-2 { margin-right: 0.5rem; }
    .mr-3 { margin-right: 0.75rem; }

    /* Íconos */
    .meditation-duration-item img,
    .meditation-preparation-item img,
    .meditation-bell-item img,
    .meditation-interval-item img {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }

    /* Texto izquierdo */
    .meditation-duration-item span:first-child,
    .meditation-preparation-item span:first-child,
    .meditation-bell-item span:first-child,
    .meditation-interval-item span:first-child {
        color: #111827;
        font-weight: 600;
    }

    /* Texto derecho (valores) */
    #displayFixedDuration,
    #displayPreparationTime,
    #displayBell,
    #displayInterval {
        color: #4b5563;
        font-weight: 500;
    }

    /* Botón principal */
    .meditation-start-button,
    .meditation-assign-button,
    .meditation-choose-bell-button,
    .meditation-set-interval-button {
        width: 100%;
        background-color: #0f172a;
        color: #ffffff;
        font-weight: 700;
        padding: 15px;
        border-radius: 12px;
        text-align: center;
        transition: background-color 0.2s;
        text-transform: uppercase;
        font-size: 1rem;
    }

    .meditation-start-button:hover,
    .meditation-assign-button:hover,
    .meditation-choose-bell-button:hover,
    .meditation-set-interval-button:hover {
        background-color: #1e293b;
    }

    /* Botones de opciones individuales */
    .meditation-time-option-button,
    .meditation-bell-option-button,
    .meditation-interval-option-button,
    .meditation-duration-option-button {
        width: 100%;
        padding: 15px 20px;
        background-color: #ffffff;
        border: 1px solid #d1d5db;
        border-radius: 10px;
        font-size: 1rem;
        color: #111827;
        font-weight: 500;
        text-align: center;
        margin-bottom: 10px;
        cursor: pointer;
        transition: background-color 0.2s, color 0.2s;
    }

    /* Botón seleccionado */
    .meditation-time-option-button.selected,
    .meditation-bell-option-button.selected,
    .meditation-interval-option-button.selected,
    .meditation-duration-option-button.selected {
        background-color: #0d9488;
        color: #ffffff;
        border-color: #0f766e;
    }

    /* Títulos */
    h2, h1 {
        color: #0f172a;
        font-weight: 700;
        font-size: 1.25rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .meditation-plugin-container {
        width: 100%;
        padding: 0 0;
        margin: 0 auto;
        box-sizing: border-box;
        display: block;
    }

    /* Ajusta margen inferior entre secciones y botón */
    #homeSettings {
        margin-bottom: 20px;
    }

    /* Asegura que el botón no esté empujado abajo por "auto" */
    .meditation-start-button {
        margin-top: 0 !important;
    }

    /* Añade separación entre nombre del ajuste y su valor */
    .meditation-duration-item span:last-child,
    .meditation-preparation-item span:last-child,
    .meditation-bell-item span:last-child,
    .meditation-interval-item span:last-child {
        margin-left: auto;
    }

    /* Corregir padding lateral de íconos + texto */
    .meditation-duration-item .flex,
    .meditation-preparation-item .flex,
    .meditation-bell-item .flex,
    .meditation-interval-item .flex {
        gap: 10px;
        align-items: center;
    }

    .nobell {
        padding: 15px;
    }

    .secondary-button {
        background-color: #ffffff7a;
        color: var(--light-gray-800);
        font-weight: 500;
        border-radius: 0.75rem;
        margin-top: -15px;
        text-align: center;
        text-transform: uppercase;
    }

    .secondary-button:hover {
        background-color: var(--light-gray-300);
    }

    .close-button {
        cursor: pointer;
        border: none;
        font-size: 1rem;
        font-weight: 500;
        transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        padding: 1rem 2rem;
    }
    
    #playerScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999999999;
    padding: 20px;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* << CENTRA verticalmente */
    box-sizing: border-box;
    padding-bottom: 100px !important;
}

.meditation-note-message {
  font-size: 0.875rem; /* Tamaño de texto pequeño */
  color: #0f172a; /* Gris medio */
  text-align: center;
  margin-top: 1rem;
  padding: 0 10px;
  line-height: 1.4;
  margin-top: -10px;
  opacity: 0.9;
}

.irprogramacontainer a {
     padding: 40px;
    background-color: white;
    border-radius: 10px;
    border: 1px solid #8080808c;
    margin-top: 100px !important;
    box-shadow: 0 0 5px #cdcdcd;
    background: linear-gradient(#ffffff, #f1f1f1);
    color: #09757A;
    text-decoration: none;
}

#durationScreen {
  min-height: auto !important;
  padding-bottom: 0 !important;
}


    @media (max-width: 600px) {
        h1 {
            font-size: 1.8rem;
        }

        h2 {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }

        .meditation-start-button,
        .meditation-assign-button,
        .meditation-choose-bell-button,
        .meditation-set-interval-button, .iralpaso {
            font-size: 1rem;
        }

        .meditation-duration-item,
        .meditation-preparation-item,
        .meditation-bell-item,
        .meditation-interval-item,
        {
            font-size: 0.95rem;
        }

        .meditation-duration-item img,
        .meditation-preparation-item img,
        .meditation-bell-item img,
        .meditation-interval-item img {
            width: 18px;
            height: 18px;
        }

        .meditation-time-option-button,
        .meditation-bell-option-button,
        .meditation-interval-option-button,
        .meditation-duration-option-button {
            padding: 12px;
            font-size: 0.95rem;
        }

        .bell-option {
            max-width: 90px;
        }

        .bell-option img {
            width: 70px;
            height: 70px;
        }

        .bell-option p {
            font-size: 0.8rem;
        }

        .meditation-volume-icon {
            width: 20px;
            height: 20px;
        }
    }

    @media (max-width: 400px) {
        h1 {
            font-size: 1.5rem;
        }

        h2 {
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        .meditation-duration-item,
        .meditation-preparation-item,
        .meditation-bell-item,
        .meditation-interval-item {
            font-size: 0.9rem;
        }

        .text-lg {
            font-size: 0.9rem;
        }
        .meditation-duration-item .flex, .meditation-preparation-item .flex, .meditation-bell-item .flex, .meditation-interval-item .flex{
            gap: 1px;
        }

        .meditation-time-option-button,
        .meditation-bell-option-button,
        .meditation-interval-option-button,
        .meditation-duration-option-button {
            font-size: 0.9rem;
            padding: 10px;
        }

        .bell-option {
            max-width: 80px;
        }

        .bell-option p {
            font-size: 0.75rem;
        }
        
        .meditation-note-message {
  font-size: 0.775rem; /* Tamaño de texto pequeño */

}
    }
}