/* Centralized Search Modal Styles (Step 3 Results) */

.border-bold-search {
    border: 2px solid #E8BA00 !important;
    box-shadow: 0 4px 15px rgba(232, 186, 0, 0.15) !important;
}

.border-flashing-bold-search {
    border: 2px solid #E8BA00 !important;
    position: relative;
    overflow: visible !important;
    isolation: isolate;
    animation: premium-pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

.border-flashing-bold-search::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 2px solid rgba(232, 186, 0, 0.65);
    pointer-events: none;
    animation: premium-pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes premium-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(232, 186, 0, 0.45);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 0 6px rgba(232, 186, 0, 0.2);
    }
}

@keyframes premium-pulse-ring {
    0% {
        opacity: 0.9;
        transform: scale(1);
    }
    70% {
        opacity: 0;
        transform: scale(1.04);
    }
    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}

/* Step 3 Results Customizations */
#search-result-body .search-head-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

#search-result-body .search-head-wrapper:hover {
    text-decoration: none;
    color: inherit;
}

/* Base result item container */
#search-result-body .result-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

/* Clean hover wrapper effect */
#search-result-body .result-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #E8BA00;
}

#search-result-body .avatar {
    width: 65px !important;
    height: 65px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f3f4f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#search-result-body .result-item-name {
    color: #374151;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Extra icon styling */
#search-result-body .fas.fa-chevron-right,
#search-result-body .fas.fa-chevron-left {
    color: #9CA3AF;
    font-size: 1.2rem;
    transition: color 0.2s;
}

#search-result-body .result-item:hover .fas.fa-chevron-right,
#search-result-body .result-item:hover .fas.fa-chevron-left {
    color: #E8BA00;
}

/* Interested Teachers Components */
.interested-teacher-link {
    text-decoration: none;
    color: inherit;
}

.interested-teacher-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,113,34,0.3) !important;
}

.interested-teachers-section .overflow-auto::-webkit-scrollbar {
    height: 8px;
}

.interested-teachers-section .overflow-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.interested-teachers-section .overflow-auto::-webkit-scrollbar-thumb {
    background: #007122;
    border-radius: 10px;
}

.interested-teachers-section .overflow-auto::-webkit-scrollbar-thumb:hover {
    background: #005f1b;
}
