/* styles.css - Custom Styles */

/* Smooth Animations */
* {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Loading Animation Enhancement */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-custom {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Button Hover Effects */
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
}

/* Card Shadow Enhancement */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Input Focus Enhancement */
input:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Print Styles */
@media print {
    header, footer, button {
        display: none;
    }
    
    .bg-gradient-to-br {
        background: white !important;
    }
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background-color: #d1fae5;
    color: #065f46;
}

/* Note Card Enhancements */
.note-section {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: #f9fafb;
    border-left: 3px solid #6366f1;
    border-radius: 4px;
}

.note-section-label {
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.note-section-content {
    color: #1f2937;
    line-height: 1.6;
}

/* Word Count Badge */
.word-count-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.word-count-perfect {
    background-color: #d1fae5;
    color: #065f46;
}

.word-count-good {
    background-color: #fef3c7;
    color: #92400e;
}

.word-count-low {
    background-color: #fee2e2;
    color: #991b1b;
}
