
.profile-image-container{
    display: flex;
    width: fit-content;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

.profile-image-container .profile-image img,.preview-section img{ 
    border-radius: 50%;
    border: 2px solid #E41C34;
    padding: 2px;
}


.profile-edit-btn,
.choose-predefined-btn:hover,
.back-to-upload-btn:hover,
.save-changes-btn,
.upload-label{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Cairo' !important;
    background: #212121 ;
    color: white;
    transition: all ease 0.3s;
    border-radius: 15px;
    border: 1px solid #212121;
    text-align: center;
    cursor:pointer;
}



.profile-edit-btn:hover,
.choose-predefined-btn,
.back-to-upload-btn,
.save-changes-btn:hover,
.upload-label:hover{
    background: transparent;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    color: #212121;
    font-family: 'Cairo' !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease 0.3s;
    border-radius: 15px;
    border: 1px solid #212121;
    text-align: center;
    cursor:pointer;
}


.profile-edit-btn{
   padding:5px 30px; 
}

.choose-predefined-btn,
.back-to-upload-btn,
.save-changes-btn,
.upload-label{
   padding:10px;   
}

/* Popup Styles */
#image-selection-popup {
position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #00000021;
    z-index: 1000;
}

#image-selection-popup.hidden {
    display: none;
}

#image-selection-popup .popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.popup-header h3 {
    margin: 0;
    color: #212121;
    font-family: 'Cairo' !important;
    font-size:25px;
}

.close-popup {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.popup-body {
    margin-bottom: 20px;
}


#predefined-images-section,#file-upload-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}


#predefined-images-section.hidden,#file-upload-section.hidden{
    display:none;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.emoji-option {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Preview Section */
.preview-section {
    text-align: center;
    margin-bottom: 20px;
}

.preview-section.hidden {
    display: none;
}

.preview-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ddaa36;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Hide the checkbox */
.emoji-option input[type="radio"] {
    display: none;
}

/* Default style for predefined images */
.emoji-option .icon-image {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

/* Style for the selected image */
.emoji-option input[type="radio"]:checked + .icon-image {
    opacity: 1;
}

/* Hover effect for images */
.emoji-option .icon-image:hover {
    opacity: 0.8;
}

/* Hide the default file input */
#image-upload {
    display: none;
}


.info-and-image{
    display:flex;
    align-items:center;
    gap:20px;
    
}


.info-and-image .user-info{
    color: #212121;
    font-family: 'Cairo' !important;
}

/* Style the drag-and-drop area */
.drag-drop-area {

    padding: 20px;
    border: 2px dashed #E41C3434;
    border-radius: 5px;
    text-align: center;
    color: #0073e6;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.drag-drop-area.drag-over {
    border-color: #E41C34;
    background-color: #ffffff;
}
.upload-text{
color:#fff;
}
.drag-drop-text {
    font-size: 16px;
    color: #212121;
    font-family: 'Cairo' !important;
}