.cursor-pointer { cursor: pointer; }
.hover-scale { transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s; }
.hover-scale:hover { transform: scale(1.02); }

.hover-primary:hover { color: #198754 !important; transition: color 0.3s ease; }
.hover-primary:hover i { color: #198754 !important; transition: color 0.3s ease; transform: scale(1.1); }

.focus-ring-success:focus-within { box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25); border-color: #198754 !important; }

.btn-hover-lift { transition: all 0.2s ease; }
.btn-hover-lift:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(25, 135, 84, 0.3) !important; }

.bg-gradient-success-light { background: linear-gradient(135deg, #f0fff4 0%, #e8f5e9 100%); }

/* ===== SEARCH MODAL ===== */
.search-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.search-modal-header {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    padding: 28px 24px 24px;
    text-align: center;
    position: relative;
}
.search-modal-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.search-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.18s;
    line-height: 1;
    padding: 0;
}
.search-modal-close:hover { background: rgba(255,255,255,0.28); }

.search-modal-icon-wrap {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}

.search-modal-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px;
    letter-spacing: -0.2px;
    position: relative;
}
.search-modal-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
    margin: 0;
    position: relative;
}

.search-modal-body {
    padding: 24px;
    background: #fff;
}

/* Keyword input */
.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    padding: 10px 20px;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.search-input-wrap:focus-within {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
    background: #fff;
}
.search-input-icon {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-right: 10px;
    flex-shrink: 0;
    transition: color 0.18s;
}
.search-input-wrap:focus-within .search-input-icon { color: #059669; }
.search-keyword-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}
.search-keyword-input::placeholder { color: #9ca3af; }

/* Section cards */
.search-section-card {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 16px;
}
.search-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.search-section-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.search-section-icon-green { background: #ecfdf5; color: #059669; }
.search-section-icon-blue  { background: #eff6ff; color: #2563eb; }
.search-section-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: -0.1px;
}

/* Selects */
.modern-select-wrapper { position: relative; }
.modern-select-wrapper .form-label {
    font-size: 0.73rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}
.modern-select {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    background: #fff;
    transition: border-color 0.18s, box-shadow 0.18s;
    cursor: pointer;
}
.modern-select:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
    outline: none;
}
.modern-select:disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Action buttons */
.search-btn-cancel {
    flex: 1;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.18s;
}
.search-btn-cancel:hover { background: #f3f4f6; color: #374151; }
.search-btn-submit {
    flex: 2;
    background: linear-gradient(135deg, #059669, #047857);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(5,150,105,0.35);
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.search-btn-submit:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    box-shadow: 0 6px 20px rgba(5,150,105,0.45);
    transform: translateY(-1px);
}
