:root {
    --accent-color: #F05633;
    --accent-hover: #d14a28;
    --text-color: #222;
    --light-bg: #f8f9fa;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: white;
}

.text-accent {
    color: var(--accent-color) !important;
}

.rounded-16 {
    border-radius: 0.5rem !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color) !important;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: white !important;
}

.mobile-search-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1050;
    transition: left 0.3s ease;
    padding: 1rem;
}

.mobile-search-panel.show {
    left: 0;
}

.mobile-search-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
}

.mobile-registration-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 1050;
    transition: right 0.3s ease;
    padding: 2rem 1rem;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.mobile-registration-panel.show {
    right: 0;
}

.mobile-registration-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-link:hover {
    color: var(--accent-hover) !important;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25);
}

/* Error styling - remove red background, use design style */
.alert-danger {
    background-color: transparent !important;
    border: none !important;
    color: #dc3545 !important;
    padding: 0.5rem 0 !important;
    margin-bottom: 0 !important;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.modal-content {
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
}

.btn-close:focus {
    box-shadow: none;
}

.popular-search-item {
    transition: all 0.2s ease;
}

.popular-search-item:hover {
    background-color: var(--accent-color) !important;
    color: white !important;
    transform: translateY(-1px);
}

/* Search Results Dropdown Styles */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 0.25rem;
}

.search-results-content {
    padding: 0.5rem 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f8f9fa;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 40px;
    height: 40px;
    border-radius: 0.25rem;
    object-fit: cover;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-category {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    display: flex;
    align-items: center;
}

.search-result-category i {
    color: var(--accent-color);
    font-size: 0.7rem;
}

.search-no-results {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.search-loading {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.search-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #F05633;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile specific styles */
@media (max-width: 991.98px) {
    .search-results-dropdown {
        position: fixed;
        top: 60px;
        left: 15px;
        right: 15px;
        max-height: 300px;
    }
}

.search-pill {
    position: relative;
}

.search-pill .search-input {
    border-radius: 9999px;
    background: #f6f6f6;
    border: 1px solid #f1f1f1;
    height: 38px;
    padding-left: 48px;
    font-size: 16px;
}

.search-pill .search-input::placeholder {
    color: #b8b8b8;
}

.search-pill .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b8b8b8;
    font-size: 18px;
    pointer-events: none;
}













