/* Ensure form is centered */
.search-panel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Adds spacing between input and button */
    width: 100%;
    max-width: 400px; /* Limits width for better UI */
    margin: 0 auto; /* Centers the form horizontally */
    padding: 20px;
}

/* Input Container */
.input-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Input Field */
#search-panel {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    text-align: center; /* Centers placeholder text */
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Placeholder Styling */
#search-panel::placeholder {
    color: #999;
    text-align: center; /* Ensures text is centered */
    font-size: 14px;
}

/* Submit Button */
.submit-btn {
    width: 100%; /* Ensures button is full width */
    max-width: 200px; /* Prevents it from being too wide */
    padding: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Adds space between icon and text */
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Button Hover Effect */
.submit-btn:hover {
    background-color: #0056b3;
}

/* Search Icon Position */
.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}
