/* Custom CSS extensions for CallAI Platform */

.btn-primary {
    background: linear-gradient(to right, #ff4d1f, #ff7a45);
    color: #ffffff;
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 77, 31, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(255, 77, 31, 0.5);
}

.btn-primary:active {
    filter: brightness(0.95);
    transform: scale(0.98);
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.025em;
    color: #ffffff;
}

@media (min-width: 768px) {
    .card-title {
        font-size: 16px;
    }
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 34px;
    }
}

/* Animations using regular CSS for clarity */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Scrollbar for a premium feel */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.highlight-good {
    background: rgba(34, 197, 94, 0.15);
    border-bottom: 1.5px solid rgba(34, 197, 94, 0.5);
    border-radius: 3px;
    padding: 1px 2px;
    cursor: pointer;
}

.highlight-bad {
    background: rgba(239, 68, 68, 0.15);
    border-bottom: 1.5px solid rgba(239, 68, 68, 0.5);
    border-radius: 3px;
    padding: 1px 2px;
    cursor: pointer;
}

.highlight-tip {
    background: rgba(59, 130, 246, 0.15);
    border-bottom: 1.5px solid rgba(59, 130, 246, 0.5);
    border-radius: 3px;
    padding: 1px 2px;
    cursor: pointer;
}