/* Professional Search Input */
#search {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background: white;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
    background-repeat: no-repeat;
    background-position: 24px center;
    padding-left: 56px;
    background-size: 20px;
}

#search:focus {
    border-color: #4a90e2;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.2);
    outline: none;
}

/* Suggestions Box */
#suggestions {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Hotel Result Items */
.search-result-item {
    width: 100%;
    padding: 16px 24px;
    text-align: left;
    border: none;
    background: none;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f9f9f9;
}

.hotel-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hotel-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.hotel-info {
    flex: 1;
}

.hotel-name {
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.hotel-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #666;
}

.location {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Loading and Error States */
.search-loading,
.search-error,
.no-results {
    padding: 24px;
    text-align: center;
    color: #666;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4a90e2;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.error-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: #e74c3c;
}

.no-results-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

/* JSON Output Styling */
#jsonOutput {

    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-stats {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.hotel-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hotel-result-item {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.country {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.search-prompt,
.no-results-message,
.error-message {
    color: #666;
    font-size: 14px;
}

.error-message {
    color: #e74c3c;
}

/*...................*/

.btn-1 {
    font-size: 18px;
    display: inline-block;
    outline: 0;
    border: 0;
    cursor: pointer;
    will-change: box-shadow, transform;
    background: radial-gradient(100% 100% at 100% 0%, #89E5FF 0%, #5468FF 100%);
    box-shadow: 0px 0.01em 0.01em rgb(45 35 66 / 40%), 0px 0.3em 0.7em -0.01em rgb(45 35 66 / 30%), inset 0px -0.01em 0px rgb(58 65 111 / 50%);
    padding: 0 2em;
    border-radius: 0.3em;
    color: #fff;
    height: 2.6em;
    text-shadow: 0 1px 0 rgb(0 0 0 / 40%);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-1:hover {
    box-shadow: 0px 0.1em 0.2em rgb(45 35 66 / 40%), 0px 0.4em 0.7em -0.1em rgb(45 35 66 / 30%), inset 0px -0.1em 0px #3c4fe0;
    transform: translateY(-0.1em);
}

.btn-1:active {
    box-shadow: inset 0px 0.1em 0.6em #3c4fe0;
    transform: translateY(0em);
}
