/* Custom styles for DailyStandupAI */

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    @apply font-bold py-2 px-4 rounded transition-all duration-300;
}

.btn-primary {
    @apply bg-indigo-600 text-white;
}

.btn-primary:hover {
    @apply bg-indigo-700 transform scale-105;
}

.btn-secondary {
    @apply bg-gray-200 text-gray-800;
}

.btn-secondary:hover {
    @apply bg-gray-300 transform scale-105;
}

/* Form inputs */
.form-input {
    @apply shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 rounded-md;
}

/* Card styles */
.card {
    @apply bg-white shadow-md rounded-lg overflow-hidden transition-all duration-300;
}

.card:hover {
    @apply shadow-lg transform -translate-y-1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slideIn {
    animation: slideInFromLeft 0.5s ease-out;
}

/* Analytics Dashboard Styles */
.analytics-sidebar {
    width: 250px;
    background-color: #f3f4f6;
    padding: 1rem;
    height: calc(100vh - 64px);
    position: fixed;
    overflow-y: auto;
}

.analytics-content {
    margin-left: 250px;
    padding: 2rem;
}

.analytics-tab {
    @apply px-4 py-2 rounded-tl-lg rounded-tr-lg transition-all duration-300;
}

.analytics-tab.active {
    @apply bg-indigo-600 text-white;
}

.analytics-tab:not(.active) {
    @apply bg-gray-200 text-gray-800;
}

.analytics-chart-container {
    @apply bg-white p-4 rounded-lg shadow-md mb-4;
}

.analytics-chart-title {
    @apply text-xl font-bold mb-2 text-indigo-600 cursor-pointer;
}

.analytics-chart {
    width: 100%;
    height: 300px;
}

/* Responsive design */
@media (max-width: 640px) {
    .analytics-sidebar {
        width: 100%;
        height: auto;
        position: static;
    }

    .analytics-content {
        margin-left: 0;
    }
}

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

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

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

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

/* Utility classes */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(45deg, #4f46e5, #7c3aed);
}

.bg-gradient {
    background-image: linear-gradient(45deg, #4f46e5, #7c3aed);
}

.transition-300 {
    transition: all 300ms ease-in-out;
}
