/* Custom styles for spiritual wellness app */

.card {
    @apply bg-white/90 backdrop-blur-sm border border-sage-200 rounded-xl p-6 shadow-sm hover:shadow-md transition-all duration-300;
}

.btn-primary {
    @apply bg-sage-400 text-white px-6 py-3 rounded-lg hover:bg-sage-300 transition-colors duration-200 font-medium;
}

.btn-secondary {
    @apply bg-sage-100 text-sage-400 px-4 py-2 rounded-lg hover:bg-sage-200 transition-colors duration-200 font-medium;
}

.btn-outline {
    @apply border border-sage-300 text-sage-400 px-4 py-2 rounded-lg hover:bg-sage-50 transition-colors duration-200 font-medium;
}

.nav-link {
    @apply text-gray-600 hover:text-sage-400 transition-colors duration-200 font-medium;
}

.timer-button {
    @apply bg-white border-2 border-sage-200 rounded-xl p-6 hover:border-sage-300 hover:bg-sage-50 transition-all duration-200 flex flex-col items-center justify-center text-sage-400 cursor-pointer;
}

.timer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(174, 182, 174, 0.15);
}

.fruit-tag {
    @apply cursor-pointer;
}

.fruit-tag input:checked + span {
    @apply bg-sage-400 text-white;
}

.fruit-tag span {
    @apply block px-3 py-2 text-sm border border-sage-200 rounded-lg text-center hover:bg-sage-50 transition-colors duration-200;
}

/* Smooth animations */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Focus styles for accessibility */
input:focus, textarea:focus, button:focus {
    outline: 2px solid rgba(174, 182, 174, 0.5);
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(174, 182, 174, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(174, 182, 174, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(174, 182, 174, 0.5);
}

/* Timer circle animation */
.timer-circle-progress {
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 1s linear;
}

/* Gentle fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Peace rating slider */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #849084;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #849084;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
