/* ================================================
   CONSILIUM | Styles
   ================================================ */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    margin: 0;
    padding: 0;
}

.hide {
    display: none !important;
}

input, textarea, select {
    outline: none;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating buttons */
.rating-btn {
    transition: all 0.2s;
    cursor: pointer;
}

.rating-btn.active {
    background-color: #fbbf24 !important;
    transform: scale(1.1);
}

.rating-btn:hover {
    transform: scale(1.05);
}

/* Favorite button */
.btn-favorited {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%) !important;
    color: white !important;
}

/* Expert card clickable */
.expert-card {
    cursor: pointer;
    transition: all 0.2s;
}

.expert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Status badges */
.status-active {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-busy {
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* Admin tabs */
.admin-tab {
    cursor: pointer;
    transition: all 0.2s;
}

.admin-tab:hover {
    background: #f1f5f9 !important;
}

.admin-tab.active {
    background: #0f172a !important;
    color: white !important;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth transitions */
* {
    transition: background-color 0.2s, color 0.2s;
}

button {
    cursor: pointer;
}

button:active {
    transform: scale(0.98);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
