/* Styles for the litanies page */
.litanies-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
}

.fullscreen-litany {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.instructions {
    text-align: center;
    max-width: 800px;
    margin: 1rem auto;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.litany-content {
    background-color: white;
    border-radius: var(--border-radius);
    width: 100%;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    flex: 1;
}

#litany-display {
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

#current-litany {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.response {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 1.5rem;
}

.litany-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #eee;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1010;
}

.litany-counter {
    background-color: var(--light-color);
    padding: 0.7rem 1.2rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.litany-actions {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1rem;
}

.return-btn {
    background-color: var(--secondary-color);
}

/* Exit fullscreen button */
.exit-fullscreen-litany {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    z-index: 1020;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: none;
}

.exit-fullscreen-litany:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* Responsive design for litanies page */
@media (max-width: 768px) {
    #current-litany {
        font-size: 1.8rem;
    }
    
    .response {
        font-size: 1.3rem;
    }
    
    .litany-navigation {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .instructions {
        padding: 0.8rem;
        margin: 0.5rem auto;
        font-size: 0.9rem;
    }
    
    #litany-display {
        padding: 1rem 0.5rem;
    }
    
    #current-litany {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .response {
        font-size: 1.1rem;
        margin-top: 1rem;
    }
    
    .litany-navigation {
        padding: 0.8rem;
    }
    
    .litany-counter {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
}