.auth-section {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

/* .auth-tabs .auth-tab {
    padding: 10px 15px;
    background: none;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-weight: bold;
}

.auth-tab {
	background: #ddd !important;
	color: #CC3366 !important;
}

.auth-tab.active {
    color: #fff !important;
    background: #c36 !important;
} */

.auth-tab {
    border-radius: 5px !important;
    font-size: 18px !important;
    padding: 12px 16px !important;
    color: #001E44 !important;
    background: #fff !important;
    border: none !important;
    outline: none !important;
}

.auth-tab:hover {
    color: #000000 !important;
    background: #F4F4F4 !important;
    border-radius: 5px !important;
}

.auth-tab.active {
    color: #fff !important;
    background: #551ED8 !important;
    border-radius: 5px !important;
}

.auth-tab.active:hover {
    color: #fff !important;
    background: #1c0060 !important;
}

.auth-form {
    margin-top: 0 !important;
}

.auth-form .actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ededed;
}

.auth-form .actions input[type="submit"] {
    min-width: 100px;
    font-size: 16px;
}

.auth-form .actions a {
    font-size: 16px;
}

.auth-form .actions a:hover {
    text-decoration: underline;
}

.auth-form p {
    margin-bottom: 15px;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.auth-form textarea,
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.auth-form input[type="submit"] {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.forgot-password {
    margin-left: 10px;
    text-decoration: none;
}

.auth-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 3px;
}

.auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.advanced-comments-form-section .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.advanced-comments-form-section .flex * {
    box-sizing: border-box;
}

.advanced-comments-form-section .flex .col-full {
    flex: 0 0 100%;
    width: 100%;
}

.advanced-comments-form-section .flex .col-half {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
}

.advanced-comments-form-section .flex .col-third {
    flex: 0 0 calc(33.3333% - 10px);
    width: calc(33.3333% - 10px);
}

@media (max-width: 768px) {

    .col-half,
    .col-third {
        flex: 0 0 100%;
        width: 100%;
    }
}

.advanced-comments-form-section input {
    padding: 0 10px !important;
    height: 44px !important;
}

.advanced-comments-form-section textarea {
    resize: none;
    font-family: inherit !important;
}

.advanced-comments-form-section input:focus-visible,
.advanced-comments-form-section input:focus,
.advanced-comments-form-section textarea:focus-visible,
.advanced-comments-form-section textarea:focus {
    outline: none !important;
    box-shadow: none !important;
    border: solid 1px #0000ff !important;
}

.advanced-comments-form-section label {
    font-size: 16px;
    margin: 10px 0;
}

.comment-body {
    margin-bottom: 10px;
    padding: 10px 15px !important;
    border-radius: 5px;
    border: solid 1px #ededed;
    background: #fdfdfd;
    font-size: 16px;
}

.comment-body~.comment {
    padding-left: 30px;
}

.comment-body .comment-author {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
}

.comment-body .comment-metadata,
.comment-body .comment-metadata a {
    font-size: 12px;
    line-height: 1em;
}

.comment-body .comment-content {
    margin: 10px 0;
    font-size: 16px !important;
}

.comment-body .comment-content p {
    margin: 0;
}

.comment-body .reply {
    border-top: 1px solid #ededed;
}

.not-auth .comment-respond,
.not-auth .comment-body .reply {
    display: none !important;
}

.comment-body .reply a {
    font-size: 14px !important;
}

.comment-body .reply a:hover {
    text-decoration: underline;
}

.elementor-advanced-comments-wrapper {
    background: rgb(250, 250, 250);
    border-radius: 7px;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* .elementor-widget-advanced-comments{
    position: relative;
} */
/* .elementor-widget-advanced-comments .go-to-top::after {
    content: '↑';
    font-size: 16px;
    color: var( --e-global-color-text );
}
.elementor-widget-advanced-comments .go-to-top {
	position: sticky;
	top: 140px;
	right: initial;
	left: calc(100% - 150px);
	background: transparent;
	color: #fff;
	padding: 10px 15px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 16px;
	text-align: center;
	padding: 0;
	white-space: nowrap;
	color: var( --e-global-color-text );
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
}

.elementor-widget-advanced-comments .go-to-top {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.elementor-widget-advanced-comments .go-to-top.visible {
    opacity: 1;
    visibility: visible;
} */


/* .elementor-advanced-comments-wrapper .auth-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
} */

.elementor-advanced-comments-wrapper h3 {
    font-size: 24px !important;
    margin-bottom: 0 !important;
}

.elementor-advanced-comments-wrapper textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    line-height: 1.5;
    resize: vertical;
    transition: initial !important;
    height: 120px;
    max-height: 300px;
    padding: 10px 15px !important;
    font-size: 16px;
    font-weight: normal !important;
    line-height: 1em !important;
}

.elementor-advanced-comments-wrapper .logged-in-as {
    margin-bottom: 5px;
}

.elementor-advanced-comments-wrapper .logged-in-as a:hover {
    text-decoration: underline;
}

.elementor-advanced-comments-wrapper .logged-in-as,
.elementor-advanced-comments-wrapper .logged-in-as a {
    font-size: 14px;
}

.elementor-advanced-comments-wrapper h4,
.no-comments {
    display: none !important;
}

.elementor-advanced-comments-wrapper .comment-reply-title a,
.elementor-advanced-comments-wrapper .comment-reply-title {
    font-size: 16px !important;
}

.elementor-advanced-comments-wrapper .comment-form-comment label {
    font-weight: bold;
    margin-bottom: 7px;
    font-size: 16px;
}

.comment-reply-login,
.must-log-in {
    display: none !important;
}

.register-header {
    font-size: 16px;
    text-align: center;
}

.register-header h4 {
    display: block !important;
    text-transform: initial !important;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.register-header p {
    font-size: 14px;
    text-align: center;
    line-height: 1em;
}

.comment-lbl {
    margin-top: 0 !important;
}

.comment-reply-title small {
    margin-left: 5px !important;
}

.form-submit input[type="submit"] {
    border: none !important;
}

.auth-message p {
    margin: 0 !important;
}

#password_rules {
    position: relative;
}

.password_tooltip {
    display: none;
    background-color: #f9f9f9;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px;
    position: absolute;
    width: 300px;
    z-index: 1000;
    border-radius: 5px;
    /* font-size: 0.9em; */
    left: 0;
    top: 30px;
    pointer-events: none;
    font-size: 14px;
}

#rules {
    cursor: pointer;
}

#password_error {
    position: absolute;
    left: 0;
    bottom: -25px;
    font-size: 12px;
    color: red;
    display: none;
    margin-top: 5px;
    line-height: .85em !important;
}

.adv-cmnt-msg {
	position: fixed;
	top: 100px;
	right: 10px;
	padding: 10px 15px;
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	font-size: 14px;
	border-radius: 5px;
	box-shadow: 0 8px 12px rgba(0,0,0,.1);
	z-index: 9;
}