/* Main container for our header login element */
.dhl-container {
    position: relative;
    display: inline-block;
    font-family: sans-serif; /* You can change this to your theme's font */
}

/* The main button that is always visible */
.dhl-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: background-color 0.3s;
}

.dhl-button:hover {
    background-color: #f1f1f1;
}

/* Arrow icon inside the button */
.dhl-arrow {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-right: 8px; /* margin-left for LTR */
}

/* The dropdown panel - hidden by default */
.dhl-dropdown {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 280px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 15px;
    z-index: 1000;
    border-radius: 5px;
    margin-top: 5px;
    left: 0; /* Align to the left of the button */
}

/* Show the dropdown when the container has the 'dhl-open' class */
.dhl-container.dhl-open .dhl-dropdown {
    display: block;
}

/* Change arrow direction when open */
.dhl-container.dhl-open .dhl-arrow {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

/* Styling for the user menu (logged-in state) */
.dhl-dropdown ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.dhl-dropdown ul li a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.dhl-dropdown ul li a:hover {
    background-color: #f1f1f1;
    border-radius: 4px;
}

.dhl-dropdown .dhl-logout a {
    color: #d9534f;
}

/* Styling for the Digits login form container */
.dhl-login-form .digits-form-container {
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* Adjust Digits form elements for the dropdown */
.dhl-login-form .dig_login_rembe {
    margin-top: 10px;
}

.dhl-login-form .digits-form-group {
    margin-bottom: 12px;
}
