*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
main{
    width: 100%;
    height: auto;
    background-color: #0099d2;
}
/* .logo a{
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo a img{
    width: 70px;
    height: auto;
}
.logo a h1{
    font-size: 30px;
    color: #0099D2;
} */
.login-container, .brand-container{
    width: 40%;
    padding: 2rem 0;
    margin: 0 auto;
}
.product-container{
    width: 60%;
    padding: 2rem 0;
    margin: 0 auto;
}

.product-upload{
    display: flex;
}
.product-detail{
    width: 100%;
    padding: 1rem;
}
.leftProductDetail{
    padding: 1rem 0 0 0;
}
.photo-upload {
    width: 400px;
    height: 290px;
    background-color: #eee;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    text-align: center;
}
.photo-upload img {
    width: 100px;
}

.black-bar{
    width: 100%;
    height: 50px;
    background-color: #2C2C2C;
}
.black-bar p{
    height: 100%;
    display: flex;
    justify-content: center;
    color: white;
    margin: 0;
    align-items: center;
}
.double{
    display: flex;
    justify-content: space-between;
}
.logo{
    justify-content: center;
    color: whitesmoke;
}
.box .form-group{
    width: 100%;
}
.double-box{
    width: 96% !important;
}
.double-box-button{
    width: 96% !important;
}

.bottom-buttons{
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 0;
    width: 100%;
    margin: 0 auto;
}

.bottom-buttons-last{
    width: 70% !important;
}

.login-container .bottom-buttons .left p{
    border-radius: 6px;
    padding: 2px;
    width: 25px;
    height: 25px;
    margin: 0 auto 0.3rem auto;
    background-color: #2C2C2C;
    /* color: #0099D2; */
    color: whitesmoke;
    font-size: 0.8rem;
    font-weight: 800;
}
.bottom-buttons p{
    margin-bottom: 0.3rem;
}
.bottom-buttons button{
    margin: 0 0.5rem;
    border: 1px solid black;
    padding: 0.8rem;
    color: #0099D2;
}
.login-container .bottom-buttons .left button{
    background-color: #2C2C2C;
    border-top-left-radius: 26px;
    border-bottom-left-radius: 26px;
}
.login-container .bottom-buttons .right button{
    border-top-right-radius: 26px;
    border-bottom-right-radius: 26px;
}

.upload-box {
    width: 120px;
    height: 120px;
    position: relative;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.upload-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upload-label {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    cursor: pointer;
}

#file-input {
    display: none;
}

.brand-container .bottom-buttons .mid p{
    border-radius: 6px;
    padding: 2px;
    width: 25px;
    height: 25px;
    margin: 0 auto 0.3rem auto;
    background-color: #2C2C2C;
    /* color: #0099D2; */
    color: whitesmoke;
    font-size: 0.8rem;
    font-weight: 800;
}
.brand-container .bottom-buttons .mid button{
    background-color: #2C2C2C;
}
.brand-container .bottom-buttons .left button{
    border-top-left-radius: 26px;
    border-bottom-left-radius: 26px;
}
.brand-container .bottom-buttons .right button{
    border-top-right-radius: 26px;
    border-bottom-right-radius: 26px;
}

.product-container .bottom-buttons .left button{
    border-top-left-radius: 26px;
    border-bottom-left-radius: 26px;
}
.product-container .bottom-buttons .right button{
    border-top-right-radius: 26px;
    border-bottom-right-radius: 26px;
    background-color: #2C2C2C;
}
.product-container .bottom-buttons .right p{
    border-radius: 6px;
    padding: 2px;
    width: 25px;
    height: 25px;
    margin: 0 auto 0.3rem auto;
    background-color: #2C2C2C;
    color: whitesmoke;
    font-size: 0.8rem;
    font-weight: 800;
}

.form-control{
    height: 40px;
}

.hidden {
    display: none;
}


.product-container .product-price{
    display: flex;
    align-items: center;
    height: 40px;
}
.product-container .product-price i{
    background-color: whitesmoke;
    height: 100%;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.select-button{
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.select2-container--default .select2-selection--multiple{
    border-radius: 0 !important;
    border: none !important;
}



.uploadButton{
    margin: 2rem 0;
    width: 100%;
}
.uploadButton button{
    width: 100%;
    padding: 1rem;
    background-color: #2C2C2C;
    color: white;
    border-radius: 10px 0;
    border: none;
}


.form-container input, .form-container select, .form-container textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}
#submit-button {
    background-color: black;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 1400px){
    .login-container, .brand-container{
        width: 60%;
    }
    .product-container{
        width: 75%;
    }
}
@media (max-width: 900px){
    .login-container, .brand-container{
        width: 80%;
    }
    .product-container{
        width: 85%;
    }
    .product-upload{
        display: block;
    }
    .photo-upload{
        width: 100%;
        height: auto;
    }
}
@media (max-width: 570px){
    .login-container, .brand-container, .product-container{
        width: 100%;
        padding: 1rem;
    }

}
@media (max-width: 425px){
    .bottom-buttons button{
        font-size: 12px;
        
    }
}