﻿.myaccounttab_colborder {
   border-right: 1px solid var(--bg-borderLine);
}

.myaccount_submitbtn{
    text-align: center;
    margin-top:20px;
}

.myaccount_submitbtn button {
    background: var(--bg-main);
    border: 0;
    color: #ffffff;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    height: 34px;
    line-height: 21px;
    padding: 5px 20px;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    margin-left: 20px;
    border-radius: 20px;
}

.myaccount_submitbtn button:hover {
    background: #212121;
}

.myaccount_container label{
    color: black;
}

.myaccount_container h3 {
    color: var(--bg-main);
}

.logout-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100%; 
    flex-direction: column; 
}

.avatar-upload {
    position: relative;
    max-width: 150px;
    margin: 30px auto;
}

.avatar-upload .avatar-edit {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 1;
}

.avatar-upload .avatar-edit input {
    display: none;
}

.avatar-upload .avatar-edit input + label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #ddd;
    box-shadow: 0px 1px 3px rgba(36, 36, 36, 0.3);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.avatar-upload .avatar-edit input + label:hover {
    background: #e0e0e0;
    border-color: #1a1a1a;
}

.avatar-upload .avatar-edit input + label::before {
    content: "\f030";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #242424;
    font-size: 14px;
}

.avatar-upload .avatar-preview > div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.avatar-upload .avatar-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 6px rgba(36, 36, 36, 0.3);
    background-color: #f8f8f8;
    overflow: hidden;
    background-size: contain;
    background-position: center;
}

.avatar-upload .avatar-edit {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 1;
}

/* Tooltip Styling */
.avatar-upload .avatar-edit label {
    position: relative;
}

.avatar-upload .avatar-edit label::after {
    content: "Click to Upload";
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

/* Show tooltip on hover */
.avatar-upload .avatar-edit label:hover::after {
    opacity: 1;
}

/* .select2-container {
     z-index: 1111;
}*/

#DefaultAddress:focus {
    outline: 1px solid rgba(0, 0, 0, 1) !important;
    outline-offset: 2px;
}