.prediction-container {
    padding: 20px;
    background-color: #0e0e16;
    color: #fff;
    border-radius: 10px;
}

.prediction-container h3 {
    font-size: 20px;
    font-weight: 400;
    text-align: start;
}

.section {
    flex: 1;
    margin: 10px;
    text-align: center;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    background-color: #1a1a2e;
    height: 560px; /* Ensure all sections have the same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dropzone {
    border: 2px dashed #555;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    background-color: #222;
    position: relative;
    height: 500px; /* Fixed height for the drop zone */
    width: 100%; /* Ensure it spans the full width of the container */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(14, 14, 22, 0.05);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.dropzone p {
    margin: 5px 0;
    color: #aaa;
}

.choose-file-button {
    background-color: #553ef6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%; /* Match the height of the drop zone */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure images don't overflow the container */
    border-radius: 5px;
    background-color: #1a1a2e; /* Optional: Add a background color for better visuals */
}

.preview-image {
    width: auto; /* Maintain aspect ratio */
    height: 100%; /* Force the image to match the height of the container */
    object-fit: contain; /* Ensure the image fits within the container without distortion */
    border-radius: 5px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: black; /* Black background */
    color: red; /* Red "X" */
    border: none;
    border-radius: 10px; /* Circular shape */
    font-size: 28px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.close-button:hover {
    background-color: #333; /* Slightly lighter black on hover */
    color: #ff4d4d; /* Brighter red on hover */
}

.result-box {
    border: 2px dashed #555;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    background-color: #222;
    position: relative;
    height: 500px; /* Same height as the drop zone */
    width: 100%; /* Ensure it spans the full width of the container */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(14, 14, 22, 0.05);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden; /* Prevent image overflow */
}

.result-box img {
    max-width: 100%; /* Ensure the image does not exceed the container's width */
    max-height: 100%; /* Ensure the image does not exceed the container's height */
    object-fit: contain; /* Maintain aspect ratio and fit within the container */
    border-radius: 5px;
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

.generate-button,
.preview-button {
    background-color: #553ef6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.category-buttons {
    display: flex;
    gap: 10px;
}

.category-button {
    background-color: #222;
    color: white;
    border: 1px solid #553ef6;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.remove-button {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.trySeeOption{
    background-color: #0E0E16;
    border: 1px solid #3A3A3F;
    padding: 12px 24px;
    color: white;
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
    width: 100%;
}

.option-active {
    border: 1px solid #553ef6;
}

.trySeeOption img {
    width: 16px;
    height: auto;
}

.tricky-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 18px;
}

.modal-header {
    border: none!important;
}

.modal-footer {
    border: none!important;
}

.modal-content {
    background-color: #0E0E16;
    border-radius: 24px;
    border: 1px solid #3A3A3F;
}

.trysee-explain {
    font-size: 14px;
    color: lightgray;
    font-style: italic;
}

.btn-danger {
    font-size: 14px!important;
}

.btn-secondary {
    font-size: 14px!important;
}

.important-announce {
    background-color:#b4343466;
    color: white;
    font-size: 12px;
    border-radius: 8px;
    padding: 8px 12px;
    display: inline-block;
}

