.search-card {
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    box-sizing: border-box;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 16px;
}

.search-input {
    width: 100%;
    padding: 10px 12px 10px 35px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(177, 31, 129, 0.1);
}

.swap-container {
    display: flex;
    justify-content: center;
    margin: -16px 0;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.swap-btn {
    pointer-events: auto;
    background: #fff;
    color: var(--primary-color);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, background 0.2s;
}

.swap-btn i {
    font-size: 12px;
}

.swap-btn:active {
    transform: scale(0.95);
    background: #f9f9f9;
}

.time-container {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    width: 100%;
    box-sizing: border-box;
}

.time-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.time-group label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    margin-bottom: 3px;
}

.time-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.time-input:focus {
    border-color: var(--primary-color);
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 5px;
}

.action-buttons button {
    width: 100%;
    padding: 8px 5px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: box-shadow 0.2s, transform 0.1s;
}

.action-buttons button:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(45deg, rgba(177, 31, 129, 1) 0%, rgba(202, 22, 131, 1) 27%, rgba(237, 90, 158, 1) 79%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(177, 31, 129, 0.2);
}

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color) !important;
}

.results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 160px;
    overflow-y: auto;
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.results-dropdown li {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 13px;
    color: #444;
}

.results-dropdown li:last-child {
    border-bottom: none;
}

.results-dropdown li:hover {
    background: #f9f9f9;
    color: var(--primary-color);
}
.search-main-content {
  padding: 0 10px 5px 10px;
  display: flex;
  flex-direction: column;
}

.search-jingle {
  display: none;
  margin-top: auto;
  margin-bottom: 10px;
}

.hidden {
  display: none;
}
