@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: #e0e5ec;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    padding: 10px;
}

.container {
    background: #e0e5ec;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 8px 8px 16px #b8babe, -8px -8px 16px #ffffff;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

.tagline {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

#dropZone {
    padding: 20px;
    border: 2px dashed #b8babe;
    border-radius: 10px;
    background: #e0e5ec;
    box-shadow: inset 4px 4px 8px #b8babe, inset -4px -4px 8px #ffffff;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
}

#dropZone:hover, #dropZone.dragover {
    background: #d0d4d9;
    border-color: #3498db;
    transform: scale(1.02);
}

#dropText {
    margin: 0;
}

#uploadTrigger {
    color: #3498db;
    text-decoration: underline;
    cursor: pointer;
}

.enhance-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.enhance-box label {
    font-size: 14px;
    color: #2c3e50;
}

.enhance-box select {
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #e0e5ec;
    box-shadow: 4px 4px 8px #b8babe, -4px -4px 8px #ffffff;
    font-size: 14px;
    color: #2c3e50;
    cursor: pointer;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(145deg, #f0f0f0, #d4d4d4);
    box-shadow: 4px 4px 8px #b8babe, -4px -4px 8px #ffffff;
    cursor: pointer;
    color: #2c3e50;
    transition: all 0.3s ease-in-out;
    min-width: 120px;
}

button:hover {
    transform: scale(1.05);
}

button:active {
    box-shadow: inset 2px 2px 5px #b8babe, inset -2px -2px 5px #ffffff;
    transform: scale(0.98);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

#imageComparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.before, .after {
    width: 45%;
    text-align: center;
}

.before h3, .after h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: none;
}

img {
    width: 100%;
    max-height: 400px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease-in-out;
    object-fit: contain;
    transform: scale(0.95);
}

img.show {
    opacity: 1;
    transform: scale(1);
}

.hidden {
    display: none;
}

p:last-child {
    font-size: 15px; /* Increased from 12px to 14px */
    color: #666;
    margin-top: 20px;
}

p:last-child a {
    color: 
#0000FF;
    text-decoration: none;
    transition: color 0.3s;
}

@media (max-width: 600px) {
    #imageComparison {
        flex-direction: column;
    }
    .before, .after {
        width: 100%;
    }
    button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        margin-top: 200px;
    }
}