#imagePreviewContainer {
	max-width: 300px;
}

.inferenceContainer {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
    background-color: #2D2D2D;
    padding: 25px;
}

.inferenceContainer label {
	text-align: center;
	width: 100%;
}

.inferenceContainer2 {
    display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
    background-color: #2D2D2D;
    padding: 25px;
}

.inferenceContainer3 {
    display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    background-color: #2D2D2D;
    padding: 25px;
}

.upload-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
	margin-bottom: 25px;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #E566FF;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
    margin-top: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.customAlert {
    background: #E566FF;
    text-align: center;
    color: white;
    border-radius: 12px;
    padding: 25px;
    max-width: fit-content;
    margin-bottom: 25px;
    margin-right: auto;
    margin-left: auto;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

.chart {
    max-height: 400px;
    min-width: 800px;
}

.dropdowns {
    margin-bottom: 50px;
    justify-content: space-evenly;
    display: flex;
    flex-direction: row;
    gap: 1vw;
    /* Adjusts spacing dynamically */
    flex-wrap: wrap;
    /* Allows items to stack if needed */
}

.dropdown {
    max-width: 200px;
    width: 200px;
    overflow: hidden;
}

.dropdown-btn {
    background-color: #564AFF;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    max-width: 200px;
    border-radius: 20px;
    outline: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.dropdown-btn:hover{
    background-color:#4338ca;
}

.dropdown-btn p {
    margin: 0;
    white-space: nowrap;
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: #f1f1f1;
    border-radius: 20px;
}

.dropdown-content p {
    padding: 10px 10px;
    margin: 0px;
}

.dropdownItem {
    color: #564AFF;
    cursor: pointer;
}

.dropdownItem:hover {
    background-color: #d1d1d1;
}

.arrow {
    width: 25px;
    margin: 0;
    transition: transform 0.3s ease;
}

.arrow.rotated {
    transform: rotateX(180deg);
}

@media(max-width: 700px) {
    .inferenceContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #2D2D2D;
        padding: 25px;
    }
    
    .inferenceContainer label {
        text-align: center;
        width: 100%;
    }
    
    .inferenceContainer2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #2D2D2D;
        padding: 25px;
    }
    
    .inferenceContainer3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #2D2D2D;
        padding: 25px;
    }

    .chart {
        max-height: 400px;
        max-width: 800px;
        min-width: auto;
    }
}