/* Twili Custom CSS - Complementing Tailwind CSS */

/* General Styling Tweaks */
body {
    overflow-x: hidden;
}

/* Typography enhancements */
.font-serif {
    letter-spacing: -0.02em;
}

.text-accent {
    color: #f97316;
}

/* Microthought cards styling */
.microthought-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.microthought-card:hover {
    transform: translateY(-3px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Share buttons hover effect */
.share-btn {
    transition: transform 0.2s ease;
}

.share-btn:hover {
    transform: scale(1.15);
}

/* Enhanced focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

/* Custom animations */
@keyframes gentle-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: gentle-fade-in 0.5s ease forwards;
}

/* Newsletter form enhancements */
input:focus {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

/* Loading indicator */
.loading-spinner {
    border: 3px solid rgba(249, 115, 22, 0.2);
    border-radius: 50%;
    border-top: 3px solid #f97316;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
}
