@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: url('https://images.unsplash.com/photo-1503264116251-35a269479413?auto=format&fit=crop&w=1400&q=80') no-repeat center center fixed;
    background-size: cover;
    text-align: center;
    padding: 50px;
    min-height: 100vh;
    color: #333;
}

.container {
    background-color: rgba(255, 255, 255, 0.95);
    width: 90%;
    max-width: 650px;
    border-radius: 15px;
    padding: 30px;
    margin: auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

h1 {
    color: #0a84ff;
    margin-bottom: 10px;
    font-size: 2em;
}

.upload-box {
    margin-top: 25px;
}

.upload-box input[type="file"] {
    padding: 8px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    background-color: #fafafa;
    transition: border-color 0.3s ease;
}

.upload-box input[type="file"]:hover {
    border-color: #0a84ff;
}

.upload-box button {
    background-color: #0a84ff;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    margin-top: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.upload-box button:hover {
    background-color: #0066cc;
    transform: scale(1.05);
}

.preview img {
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.attention img {
    margin-top: 15px;
    border-radius: 10px;
    max-width: 100%;
    animation: fadeIn 1s ease forwards;
    opacity: 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

#attention-map {
    width: 100%;
    height: auto;
}

.result {
    margin-top: 25px;
    padding: 20px;
    border-top: 2px dashed #0a84ff;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

#result-text {
    font-size: 1.3em;
    font-weight: bold;
    color: #0077cc;
    margin-top: 10px;
}

/* Hide placeholder image */
.preview img[src="#"] {
    display: none;
}

/* Dropdown styling */
select {
    padding: 10px 15px;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #fafafa;
    color: #333;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

select:focus {
    border-color: #0a84ff;
    outline: none;
    background-color: #e6f3ff;
}

select:hover {
    border-color: #0a84ff;
}

/* Option styling */
select option {
    padding: 10px;
    background-color: white;
    color: #333;
}

/* Label styling for select */
label {
    display: block;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

p{
    margin-top: 20px;
    font-size: 1.1rem;
    color: #666;
}

.attention-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}