/* Legacy Elementor/account styles formerly stored in three Code Snippets.
   Keep the original class selectors so the current /doc/ and account layouts
   remain styled before the new documents portal replaces them. */

a.gg-login-btn {
    padding: 6px 12px !important;
    background: #7dbd32 !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 500 !important;
    transition: background .3s ease, color .3s ease !important;
    line-height: 1.2 !important;
    height: auto !important;
}
a.gg-login-btn:hover {
    background: #6ca428 !important;
    color: #fff !important;
    text-decoration: none !important;
}
.gg-login-btn .gg-icon,
.gg-login-btn i,
.gg-login-btn svg,
.gg-login-btn::before {
    color: #fff !important;
    fill: #fff !important;
}

.gg-dropdown {
    position: relative !important;
    display: inline-block !important;
}
.gg-dropdown-content {
    display: none !important;
    position: absolute !important;
    right: 0 !important;
    background: #fff !important;
    min-width: 180px !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .15) !important;
    z-index: 999 !important;
}
.gg-dropdown-content a {
    display: block !important;
    padding: 10px 15px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: background .2s ease !important;
    font-weight: 500 !important;
}
.gg-dropdown-content a:hover {
    background: #f2f2f2 !important;
    color: #000 !important;
}
.gg-dropdown:hover .gg-dropdown-content,
.gg-dropdown:focus-within .gg-dropdown-content {
    display: block !important;
}

.my-custom-welcome-message {
    font-family: Arial, sans-serif;
    direction: rtl;
    text-align: right;
    font-size: 1.1rem;
    color: #333;
    padding: 20px 0;
    margin-bottom: 20px;
}
.my-custom-welcome-message a {
    color: #0073aa;
    text-decoration: none;
}
.my-custom-welcome-message a:hover {
    text-decoration: underline;
}

/* Final rules from the original snippets, including the 200px right sidebar. */
.my-custom-account-widget {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: row;
    border: none;
    padding: 20px 0;
    box-shadow: none;
    background: transparent;
    direction: rtl;
    align-items: flex-start;
}
.my-custom-account-nav {
    flex-shrink: 0;
    width: 200px;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: 20px;
}
.my-custom-account-nav h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
    text-align: right;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.my-custom-account-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.my-custom-account-nav li {
    margin-bottom: 10px;
}
.my-custom-account-nav a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
    transition: background-color .3s;
    text-align: right;
}
.my-custom-account-nav a:hover {
    background: #f0f0f0;
}
.my-custom-account-content {
    flex-grow: 1;
    min-width: 0;
    padding-left: 20px;
    direction: rtl;
    text-align: right;
}

