.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.upload-section {
    margin: 20px 0;
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    text-align: center;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.tab-button {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-button.active {
    background-color: #007bff;
    color: white;
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
}

.field-group {
    display: grid;
    gap: 20px;
}

.editable-field {
    margin: 10px 0;
}

.editable-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.editable-field input,
.editable-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.editable-field textarea {
    min-height: 100px;
    resize: vertical;
}

.editable-field input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.button-group {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

button.primary {
    background-color: #007bff;
    color: white;
}

button.primary:hover {
    background-color: #0056b3;
}

button.secondary {
    background-color: #6c757d;
    color: white;
}

button.secondary:hover {
    background-color: #545b62;
}

button.success {
    background-color: #28a745;
    color: white;
}

button.success:hover {
    background-color: #218838;
}

.results-section {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.metadata-json {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 500px;
    overflow-y: auto;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    font-family: monospace;
}

.status-success {
    color: #28a745;
}

.status-error {
    color: #dc3545;
}

/* GPS Location styles */
.location-preview {
    margin-bottom: 20px;
}

#map {
    height: 300px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.coordinates-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.location-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.map-controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.location-search {
    margin-bottom: 20px;
    position: relative;
}

#placeSearch {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

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

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

.search-result-name {
    font-weight: bold;
    margin-bottom: 3px;
}

.search-result-address {
    font-size: 12px;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .coordinates-group,
    .location-details {
        grid-template-columns: 1fr;
    }
    
    .map-controls {
        flex-direction: column;
    }
    
    #map {
        height: 250px;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1 1 calc(50% - 10px);
    }
    
    .field-group {
        grid-template-columns: 1fr;
    }
} 

/* Star Rating styles */
.rating-field {
    margin: 20px 0;
}

.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    font-size: 24px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ddd;
    padding: 0 2px;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffd700;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffed4a;
} 