/* General Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Main Container */
.container {
    max-width: 900px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Search Bar */
.search-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.search-container input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    min-width: 120px;
}

button {
    padding: 10px 15px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

button:hover {
    background: #0056b3;
}

/* Suggestions Dropdown */
.suggestions-dropdown {
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.suggestion-item:hover {
    background: #f1f1f1;
}

/* Results Styling */
#results-container {
    margin-top: 20px;
    text-align: left;
}

.result-item {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.result-item strong {
    color: #2c3e50;
}

.result-item span {
    display: block;
    color: #7f8c8d;
    font-size: 14px;
}

/* Upload Section Styling */
.upload-container {
    margin-top: 30px;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.upload-container input[type="file"] {
    display: block;
    margin: 10px auto;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background: #fff;
}

.upload-container button {
    background: #28a745;
}

.upload-container button:hover {
    background: #218838;
}

/* Status Messages */
.success {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}

.error {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

/* Back Button */
.back-link {
    margin-top: 20px;
}

.back-link .button {
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    color: white;
    background: #6c757d;
    text-decoration: none;
    border-radius: 5px;
}

.back-link .button:hover {
    background: #5a6268;
}
