


.dropdown-menu-columns {
    column-count: 2;
}
.dropdown-item:hover {
    background-color: #fd378e; 
    color: white; 
}


.submit-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
}

#gallery{
    height: 100vh;
}

.avatar-title{
    color: #FFF;
    font-weight: 600;
}

.left-area{
    padding: 0 12px;
    width: 50%;
    display: flex;
    justify-content: flex-end;
    height: auto;
}

.left-area .image-content{
    text-align: left;
    width: 100%;
}


.image-upload-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    padding-top: 100%; /* This creates a square aspect ratio */
    border: 2px dashed #ccc;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.image-upload-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.image-upload-wrapper .placeholder {
    font-size: 3em;
    color: #ccc;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.image-upload-wrapper input[type="file"] {
    display: none;
}

.right-area{
    padding: 0 12px;
    width: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.right-area .sport-area{
   width: 100%;
}
.area-title{
    color: #fff;
    font-size: 15px;
    padding: 6px;
}
.right-area .sport-area .sport-dropdown-menu{
    width: 100%;
}
.right-area .sport-area .sport-dropdown-menu .btn.dropdown-toggle{
    color: #FFF;
    font-size: 18px;
    border: 2px dashed #ccc;
    border-radius: 6px;
    background-color: #fd378e00;
    width: 100%;
    text-align: left;
}

.sport-item:hover {
    background-color: #fd378e; 
    color: white; 
}


.right-area .color-area{
    text-align: left;
    width: 100%;
 
}

.right-area .color-area .color-list-wrapper{
    border: 2px dashed #ccc;
    border-radius: 6px;
}
.right-area .color-area .color-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 8px 4px;
}

.right-area .color-area .color-list .color-item{
    border-radius: 50%;
    width: 18px;
    height: 18px;
    opacity: 0.75;
}
.right-area .color-area .color-list .color-item.active,
.right-area .color-area .color-list .color-item.active,
.right-area .color-area .color-list .color-item:hover{
    opacity: 1;
    box-shadow: 0 0 0 3px #e6ebb5; /* 外部边框效果 */
}

.right-area .custom-email-input{
    border: 2px dashed #ccc;
    border-radius: 6px;
    background-color: transparent;
    color: #fff;
}

.right-area .custom-email-input::placeholder {
    color: #ffffff7f; /* Placeholder text color */
    opacity: 1; /* Ensure the color is visible in modern browsers */
}
.right-area .custom-email-input:focus {
    border: 2px dashed #ccc;
    box-shadow: none;
}
/* modal */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem); 
  }


/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

/* Spinner animation */
.spinner {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}


.toast {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1050;
    transition: opacity 0.5s ease;
    background-color: #0000001f;
    display: none;
    text-align: center;
}
.toast.show {
    display: flex;
    opacity: 1;
    justify-content: center;
}
.toast .toast-body{
    margin: 80px;
    color: white;
    background-color: #0000007f;
    width: 360px;
    display: inline-block;
    line-height: 32px;
    height: 32px;
    /* border-radius: 0px; */
}

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


@media (max-width: 575.98px) {

}

@media (min-width: 576px) and (max-width: 767.98px) {
    .left-area,.right-area{
        width: 40%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .left-area,.right-area{
        width: 30%;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .left-area,.right-area{
        width: 25%;
    }
}

@media (min-width: 1200px) {
    .left-area,.right-area{
        width: 20%;
    }
}
