/* Custom styles for the meditation app */

/* Status message styling */
#status {
    font-size: 1.125rem;
    font-weight: 500;
    max-width: 90%;
    text-align: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    line-height: 1.4;
    padding: 0.75rem 1rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    min-height: 60px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(4px);
}

/* Animation for instruction changes */
.fade-transition {
    opacity: 0;
    transform: translateY(5px);
}

.fade-transition-active {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse animation for instructions */
@keyframes gentle-pulse {
    0% { box-shadow: 0 2px 10px rgba(87, 181, 231, 0.1); }
    50% { box-shadow: 0 2px 20px rgba(87, 181, 231, 0.3); }
    100% { box-shadow: 0 2px 10px rgba(87, 181, 231, 0.1); }
}

.instruction-active {
    animation: gentle-pulse 3s infinite ease-in-out;
    border: 1px solid rgba(87, 181, 231, 0.3);
}

/* Fix for Remix icons */
:where([class^="ri-"])::before { 
    content: "\f3c2"; 
}

/* Remove spinners from number input */
.timer-input::-webkit-inner-spin-button,
.timer-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.timer-input {
    -moz-appearance: textfield;
}

/* Progress ring styling */
#progress-circle {
    transition: stroke-dashoffset 0.1s linear;
}

/* Rotate progress ring to start from top */
.progress-ring {
    transform: rotate(-90deg);
}

/* Transition effects */
.transition-all {
    transition: all 0.3s ease;
}

/* Active button state */
.btn-active {
    transform: scale(0.97);
}