/* Estilos adicionales que no cubre Tailwind CDN fácilmente o para mayor control */

/* Hide scrollbar since it's an app-like experience */
body::-webkit-scrollbar {
    display: none;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.animate-shake {
    animation: shake 0.4s ease-in-out 0s 2;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glass panel effect */
.glass-panel {
    background: rgba(26, 25, 38, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom shadow for breathing circle */
.glow-shadow {
    box-shadow: 0 0 50px rgba(205, 147, 115, 0.15);
}

/* Input auto-fill styling removal */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1a1926 inset !important;
    -webkit-text-fill-color: #f5efe6 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Smooth textarea scrollbar */
textarea::-webkit-scrollbar {
    width: 4px;
}
textarea::-webkit-scrollbar-track {
    background: transparent;
}
textarea::-webkit-scrollbar-thumb {
    background: rgba(205, 147, 115, 0.2);
    border-radius: 4px;
}
textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(205, 147, 115, 0.4);
}
/* Custom switch for notifications */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 2px; bottom: 2px;
    background-color: #d5bcae;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider { background-color: rgba(205, 147, 115, 0.3); }
input:checked + .slider:before {
    transform: translateX(20px);
    background-color: #cd9373;
}
