/* ===== TutorConnect Custom Styles ===== */

html {
    scroll-behavior: smooth;
}

.text-gradient {
    background: linear-gradient(to right, #0ea5e9, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border: none !important;
}
.btn-red:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
}

@keyframes vibrate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.animate-vibrate {
    animation: vibrate 2s infinite ease-in-out;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
}

.loc-badge {
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #ffffff;
    color: #1f2937;
}

.loc-badge:hover:not(.selected-loc) {
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.selected-loc {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35) !important;
    font-weight: 700 !important;
    transform: translateY(-1px);
}

.pill-option {
    transition: all 0.2s ease;
}
.pill-option.active-pill {
    background-color: #0ea5e9 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3) !important;
}

.subject-badge {
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}
.subject-badge:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
}
.subject-badge.active-subject {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.25);
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typewriter-cursor {
    display: inline-block;
    width: 2.5px;
    height: 1.1em;
    background-color: #ea580c;
    margin-left: 2px;
    vertical-align: -2px;
    animation: cursorBlink 0.75s infinite ease-in-out;
}