/* Custom styles for SmartMeet UNZA */

/* Base styles */
:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary: #3b82f6;
    --accent: #60a5fa;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

/* Navigation Styles */
.nav-item {
    @apply flex items-center space-x-3 px-4 py-3 text-blue-100 hover:bg-blue-700 rounded-md transition-colors duration-200;
}

.nav-item.active {
    @apply bg-blue-900 text-white;
}

.nav-item i {
    @apply w-5 text-center;
}

.nav-group {
    @apply mb-1;
}

.nav-submenu {
    @apply pl-4 mt-1 space-y-1 overflow-hidden;
}

.nav-subitem {
    @apply block px-4 py-2 text-sm text-blue-200 hover:bg-blue-700 rounded transition-colors duration-200;
}

/* Content Sections */
.content-section {
    @apply animate-fadeIn;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Dashboard Cards */
.dashboard-card {
    @apply bg-white rounded-lg shadow p-6 hover:shadow-md transition-shadow duration-200;
}

.dashboard-card h3 {
    @apply text-lg font-semibold text-gray-800 mb-2;
}

.dashboard-card p {
    @apply text-gray-600;
}

/* Buttons */
.btn {
    @apply px-4 py-2 rounded-md font-medium transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2;
}

.btn-primary {
    @apply bg-blue-600 text-white hover:bg-blue-700 focus:ring-blue-500;
}

.btn-secondary {
    @apply bg-white text-gray-700 border border-gray-300 hover:bg-gray-50 focus:ring-blue-500;
}

/* Forms */
.form-group {
    @apply mb-4;
}

.form-label {
    @apply block text-sm font-medium text-gray-700 mb-1;
}

.form-input {
    @apply w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500;
}

/* Alerts */
.alert {
    @apply p-4 mb-4 rounded-md;
}

.alert-success {
    @apply bg-green-50 text-green-800 border border-green-200;
}

.alert-warning {
    @apply bg-yellow-50 text-yellow-800 border border-yellow-200;
}

.alert-danger {
    @apply bg-red-50 text-red-800 border border-red-200;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #sidebar {
        @apply -translate-x-full absolute z-10 w-64;
    }
    
    #sidebar.active {
        @apply translate-x-0;
    }
    
    .content-section {
        @apply p-4;
    }
}

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

::-webkit-scrollbar-track {
    @apply bg-gray-100;
}

::-webkit-scrollbar-thumb {
    @apply bg-gray-300 rounded-full;
}

::-webkit-scrollbar-thumb:hover {
    @apply bg-gray-400;
}
