@keyframes blink-333-green {
    0%, 49.999% { color: #333; }
    50%, 100%   { color: rgb(72, 255, 0); }
}
#themeAthena{
    .login-form-1 {
        background-color: #fff;
        padding: 5% !important;
        box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
    }
    .login-form-1 h3 {
        text-align: center;
        color: #333;
        text-transform: uppercase;
        font-size: 12pt;
        line-height: 1;
    }
    h4{
        font-size: 11pt;
        text-transform: uppercase;
        line-height: 1;
        color: #333;
    }
    .blink {
        animation: blink-333-green 1s step-end infinite;
    }
}
#themeRw{
    .order-container{
        color: #333;
    }
    .login-form-1 {
        background-color: #fff;
        padding: 5% !important;
        box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
    }
    .login-form-1 h3 {
        text-align: center;
        color: #333;
        text-transform: uppercase;
        font-size: 12pt;
        line-height: 1;
    }
    .login-form-1 h4{
        font-size: 11pt;
        text-transform: uppercase;
        line-height: 1;
        color: #333;
    }
    .blink {
        animation: blink-333-green 1s step-end infinite;
    }
}
#themeNzi{
    .login-form-1 {
        background-color: #fff;
        padding: 5% !important;
        box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
    }
    .login-form-1 h3 {
        text-align: center;
        color: #333;
        text-transform: uppercase;
        font-size: 12pt;
        line-height: 1;
    }
    .login-form-1 h4{
        font-size: 11pt;
        text-transform: uppercase;
        line-height: 1;
        color: #333;
    }
    .blink {
        animation: blink-333-green 1s step-end infinite;
    }
}
#themeDellorto{
    .chat-messages-notify .badge{
        position: absolute;
        top: auto;
        right: auto;
    }
    .login-form-1 {
        background-color: #fff;
        padding: 5% !important;
        box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
    }
    .login-form-1 h3 {
        text-align: center;
        color: #333;
        text-transform: uppercase;
        font-size: 12pt;
        line-height: 1;
    }
    .login-form-1 h4{
        font-size: 11pt;
        text-transform: uppercase;
        line-height: 1;
        color: #333;
    }
    .blink {
        animation: blink-333-green 1s step-end infinite;
    }
}
/* Bootstrap 3 Custom Modal XL */
@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        margin: 30px auto; /* Középre igazítás és némi margó alul-felül */
    }
}

@media (max-width: 767px) {
    .modal-xl {
        width: 100%;
        margin: 0; /* Mobilon ne legyen margó, hogy teljesen kitöltse */
    }

    .modal-xl .modal-content {
        border-radius: 0; /* Opcionális: mobilon szebb az élre kifutó keret */
        border: none;
    }
}
.ticket-order-chooser-button{
    display: block;
    color: #fff !important;
}
.sent .chat-message a{
    color: #fff !important;
    font-weight: bold;
}
.message-input{
    margin-top: 10px;
}
.p-5{
    padding: 5px !important;
}
.email-autocomplete-note{}
/* Email autocomplete dropdown styles moved from inline to CSS */
.email-autocomplete-note{}
/* Email autocomplete dropdown styles (ID + reusable class selector) */
#cc-email-suggest,
.email-domain-suggest{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    text-align: left;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
}
#cc-email-suggest li,
.email-domain-suggest li{
    cursor: pointer;
}
#cc-email-suggest li.active,
.email-domain-suggest li.active{
    background-color: #cc0000;
}

#cc-email-exists-box{
    display: none; /* alapból rejtve, JS mutatja/rejti */
    margin: 15px auto;
    max-width: 520px;
}
.cc-email-exists-text{ margin-bottom: 10px; }

.cc-email-client-error, #cc-email-client-error{
    display: none; /* kliens oldali validáció mutatja */
    margin: 15px;
}

.cc-contact-hero-img{
    max-width: 150px;
    height: auto;
}

.cc-email-input-wrap{
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 520px;
}

/* E-mail ellenőrzés spinner a mező jobb oldalán */
.cc-email-check-spinner{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    display: none; /* JS mutatja rejtve/alapból */
    pointer-events: none; /* ne zavarja a kattintást az inputban */
    z-index: 2;
}

/* Mobilon a gombok egymás alá kerüljenek */
@media (max-width: 767px){
    #cc-email-exists-box .btn-group.btn-group-justified{
        display: block;
        width: 100%;
    }
    #cc-email-exists-box .btn-group.btn-group-justified > .btn,
    #cc-email-exists-box .btn-group.btn-group-justified > a{
        display: block;
        width: 100%;
        margin-bottom: 8px;
    }
    #cc-email-exists-box .btn-group.btn-group-justified > .btn:last-child,
    #cc-email-exists-box .btn-group.btn-group-justified > a:last-child{
        margin-bottom: 0;
    }
}

.contact-form{
    max-width: 800px;
    margin: 0 auto;
}
.swal2-modal,
.chat-messages-notify {
    /*width: 10px;*/
    /*height: 10px;*/
    /*background-color: green;*/
    /*position: absolute;*/
    transition: left 1s ease-out, top 1s ease-out;
}


.order-chooser-container{
    cursor: pointer;
}
.order-chooser-container:hover{
    background-color: #d6ffd9 !important;
}

/* Make the whole ticket chooser box clickable via wrapping anchor */
.ticket-chooser-link{
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

/* Ticket chooser box (replaces old profile-info-box for ticket chooser) */
.category-box .ticket-chooser-box{
    position: relative;
    height: 65px;
    background-color: #e9f9ec; /* light background for the row, optional */
}
.category-box .ticket-chooser-box__icon{
    position: absolute;
    left: 0;
    top: 0;
    height: 65px;
    width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #28a745; /* green background */
    color: #fff; /* white icon */
    /* A doboz ne növekedjen hoverre, csak maga az ikon animáljon */
}
/* Az ikon (font-awesome <i>) minimum 50px legyen és csak ez skálázódjon hoverre */
.category-box .ticket-chooser-box__icon i{
    font-size: 35px; /* min 50px ikon méret */
    line-height: 1;
    display: inline-block;
    transition: transform .2s ease-in-out; /* smooth scale on hover */
    color: inherit; /* maradjon fehér */
}
.category-box .ticket-chooser-box:hover .ticket-chooser-box__icon i{
    transform: scale(1.1); /* csak az ikon nőjön 10%-kal */
}
/* Content offset to leave space for the icon block */
.category-box .ticket-chooser-box .profile-info-box-content{
    margin-left: 65px;
}
/* Optional truncation/typography can reuse existing classes
   The following ensures numbers/text behave similarly as before */
.category-box .ticket-chooser-box .profile-info-box-content .profile-info-box-number{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.faq-panel .panel-heading [data-toggle="collapse"]:after
{
    font-family: 'Glyphicons Halflings';
    content: "\e072"; /* "play" icon */
    float: right;
    color: #333;
    font-size: 18px;
    line-height: 22px;
    /* rotate "play" icon from > (right arrow) to down arrow */
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.faq-panel .panel-heading [data-toggle="collapse"].collapsed:after
{
    /* rotate "play" icon from > (right arrow) to ^ (up arrow) */
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    color: #333;
}
.faq-search-body{
    /* background-image: url('../img/oemparts/loginbg.jpg'); */
    background-image: url('../img/oemparts/faqpics.webp');
    background-size: cover;
    background-position: center center;
}
.faq-search-input-holder{
    margin-top: 70px;
    margin-bottom: 70px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
@media only screen and (max-width: 768px) {
    .faq-search-input-holder{
        margin-top: 50px;
        margin-bottom: 50px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}
.faq-link{
    display: inline-block;
    width: 100%;
    outline: none !important;
    outline-offset: 0 !important;
    text-transform: none;
    font-size: 14pt;
}
.faq-search-content{
    display: none;
}
.faq-item-no-result{
    display: none;
}
.faq-item .panel-body{
    font-size: 12pt;
}

#globalContactWrapper {
    --cc-red: #d9230f;
    --cc-green: #2e9e4f;
    --cc-green-dark: #24803f;
    --cc-amber: #c77700;
    --cc-ink: #22262a;
    --cc-text: #4a5056;
    --cc-muted: #8a9096;
    --cc-line: #e3e6ea;
    --cc-soft: #f6f7f9;
    max-width: 820px;
    margin: 0 auto 24px;
    color: var(--cc-text);
    font-size: 14px;
}
#globalContactWrapper.cc-ticket-page {
    max-width: 1024px;
}
#globalContactWrapper .cc-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 12px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--cc-line);
    border-left: 3px solid var(--cc-red);
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(16, 24, 32, .05);
}
#globalContactWrapper .cc-head-ic {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: var(--cc-ink);
    border-radius: 3px;
}
#globalContactWrapper .cc-head-ic-ok {
    background: var(--cc-green);
}
#globalContactWrapper .cc-head-ic-closed {
    background: var(--cc-muted);
}
#globalContactWrapper .cc-head-main {
    flex: 1 1 auto;
    min-width: 0;
}
#globalContactWrapper .cc-head-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cc-red);
}
#globalContactWrapper .cc-head-title {
    margin: 2px 0 3px;
    padding: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: normal;
    text-transform: none;
    color: var(--cc-ink);
    background: none;
    border: 0;
    overflow-wrap: anywhere;
}
#globalContactWrapper .cc-head-sub {
    font-size: 13px;
    color: var(--cc-muted);
}
#globalContactWrapper .cc-card {
    margin: 0 0 12px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--cc-line);
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(16, 24, 32, .05);
}
#globalContactWrapper .cc-card.cc-chat {
    padding: 0;
}
#globalContactWrapper .cc-tips {
    margin: 0 0 18px;
    text-align: center;
}
#globalContactWrapper .cc-tips-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cc-ink);
}
#globalContactWrapper .cc-tips ul {
    margin: 0;
}
#globalContactWrapper .cc-tips li {
    padding: 2px 0;
    font-size: 13px;
    line-height: 1.45;
}
#globalContactWrapper .cc-tips .fa {
    margin-right: 4px;
    color: var(--cc-green);
}
#globalContactWrapper .cc-field {
    margin: 0 0 14px;
}
#globalContactWrapper .cc-label {
    display: block;
    margin: 0 0 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cc-ink);
}
#globalContactWrapper .form-control {
    height: 42px;
    border-radius: 3px;
    box-shadow: none;
}
#globalContactWrapper textarea.form-control {
    height: auto;
    min-height: 160px;
    resize: vertical;
}
#globalContactWrapper .message-input textarea.form-control {
    min-height: 60px;
    resize: none;
}
#globalContactWrapper .form-control:focus {
    border-color: var(--cc-green);
    box-shadow: 0 0 0 2px rgba(46, 158, 79, .15);
}
#globalContactWrapper .cc-message-counter {
    margin-top: 4px;
    text-align: right;
    color: var(--cc-muted);
}
#globalContactWrapper .cc-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}
#globalContactWrapper .cc-actions-center {
    justify-content: center;
}
#globalContactWrapper .cc-send {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    font-size: 15px;
    font-weight: 700;
    border: 0;
    border-radius: 3px;
    background: var(--cc-green);
}
#globalContactWrapper .cc-send:hover,
#globalContactWrapper .cc-send:focus {
    background: var(--cc-green-dark);
}
#globalContactWrapper .cc-history {
    margin: 0 0 12px;
    background: #fff;
    border: 1px solid var(--cc-line);
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(16, 24, 32, .05);
}
#globalContactWrapper .cc-history-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
#globalContactWrapper .cc-history-head::-webkit-details-marker {
    display: none;
}
#globalContactWrapper .cc-history-head::marker {
    content: "";
}
#globalContactWrapper .cc-history-ic {
    color: var(--cc-muted);
    font-size: 16px;
}
#globalContactWrapper .cc-history-title {
    font-weight: 700;
    color: var(--cc-ink);
}
#globalContactWrapper .cc-history-count {
    min-width: 22px;
    padding: 1px 7px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    color: var(--cc-text);
    background: var(--cc-soft);
    border: 1px solid var(--cc-line);
    border-radius: 3px;
}
#globalContactWrapper .cc-history-caret {
    margin-left: auto;
    color: var(--cc-muted);
    transition: transform .15s ease;
}
#globalContactWrapper .cc-history[open] .cc-history-caret {
    transform: rotate(180deg);
}
#globalContactWrapper .cc-history-body {
    padding: 0 16px 14px;
    border-top: 1px solid var(--cc-line);
}
#globalContactWrapper .cc-history-note {
    margin: 10px 0;
    font-size: 12px;
    color: var(--cc-muted);
}
#globalContactWrapper .cc-history-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
#globalContactWrapper .cc-history-list li + li {
    margin-top: 8px;
}
#globalContactWrapper .cc-hist-item,
#globalContactWrapper .cc-ticket {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--cc-text);
    background: #fff;
    border: 1px solid var(--cc-line);
    border-radius: 3px;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
#globalContactWrapper .cc-hist-item:hover,
#globalContactWrapper .cc-hist-item:focus,
#globalContactWrapper .cc-ticket:hover,
#globalContactWrapper .cc-ticket:focus {
    border-color: #b9bfc6;
    box-shadow: 0 2px 6px rgba(16, 24, 32, .1);
    text-decoration: none;
    color: var(--cc-text);
}
#globalContactWrapper .cc-hist-item.is-unread {
    border-left: 3px solid var(--cc-green);
}
#globalContactWrapper .cc-tickets {
    display: grid;
    gap: 8px;
}
#globalContactWrapper .cc-ticket {
    padding: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 32, .05);
}
#globalContactWrapper .cc-hist-ic,
#globalContactWrapper .cc-ticket-ic {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-muted);
    background: var(--cc-soft);
    border-radius: 3px;
}
#globalContactWrapper .cc-hist-item.is-unread .cc-hist-ic,
#globalContactWrapper .cc-ticket-ic {
    color: #fff;
    background: var(--cc-green);
}
#globalContactWrapper .cc-ticket-ic-run {
    background: var(--cc-amber);
}
#globalContactWrapper .cc-hist-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#globalContactWrapper .cc-hist-top {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    color: var(--cc-ink);
}
#globalContactWrapper .cc-hist-order {
    font-size: 12px;
    font-weight: 700;
    color: var(--cc-red);
}
#globalContactWrapper .cc-hist-subject {
    font-size: 13px;
    color: var(--cc-text);
}
#globalContactWrapper .cc-hist-text {
    font-size: 12px;
    color: var(--cc-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#globalContactWrapper .cc-hist-meta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    max-width: 40%;
    text-align: right;
}
#globalContactWrapper .cc-hist-until {
    font-size: 11px;
    color: var(--cc-muted);
}
#globalContactWrapper .cc-hist-go {
    flex: 0 0 auto;
    color: #b9bfc6;
}
#globalContactWrapper .cc-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .02em;
    border-radius: 3px;
    white-space: nowrap;
}
#globalContactWrapper .cc-badge-new {
    color: #fff;
    background: var(--cc-green);
}
#globalContactWrapper .cc-badge-closed {
    color: var(--cc-text);
    background: var(--cc-soft);
    border: 1px solid var(--cc-line);
}
#globalContactWrapper .cc-badge-wait {
    color: var(--cc-green-dark);
    background: #e8f5ec;
}
#globalContactWrapper .cc-badge-run {
    color: var(--cc-amber);
    background: #fdf3e3;
}
#globalContactWrapper .cc-head > .cc-badge {
    flex: 0 0 auto;
}
#globalContactWrapper .cc-closed-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    padding: 12px 16px;
    background: var(--cc-soft);
    border: 1px solid var(--cc-line);
    border-left: 3px solid var(--cc-muted);
    border-radius: 3px;
}
#globalContactWrapper .cc-closed-bar > .fa {
    color: var(--cc-muted);
    font-size: 18px;
}
#globalContactWrapper .cc-closed-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    font-size: 13px;
}
#globalContactWrapper .cc-closed-text strong {
    color: var(--cc-ink);
}
#globalContactWrapper .cc-closed-new {
    flex: 0 0 auto;
    border: 0;
    border-radius: 3px;
    font-weight: 700;
    background: var(--cc-green);
}
#globalContactWrapper .cc-closed-new:hover,
#globalContactWrapper .cc-closed-new:focus {
    background: var(--cc-green-dark);
}
#globalContactWrapper .cc-locked {
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 3px solid var(--cc-green);
}
#globalContactWrapper .cc-locked-ic {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: var(--cc-green);
    border-radius: 3px;
}
#globalContactWrapper .cc-locked-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#globalContactWrapper .cc-locked-text strong {
    color: var(--cc-ink);
}
#globalContactWrapper .cc-sent {
    text-align: center;
}
#globalContactWrapper .cc-sent-img {
    max-width: 180px;
    height: auto;
    margin: 0 auto 12px;
}
#globalContactWrapper .cc-sent-lead {
    max-width: 560px;
    margin: 0 auto 14px;
}
#globalContactWrapper .cc-checklist {
    display: inline-block;
    margin: 0 auto 16px;
    padding: 0;
    list-style: none;
    text-align: left;
}
#globalContactWrapper .cc-checklist li {
    padding: 3px 0;
}
#globalContactWrapper .cc-checklist .fa {
    margin-right: 6px;
    color: var(--cc-green);
}
#globalContactWrapper .cc-busy p {
    margin: 0 0 14px;
    line-height: 1.55;
}
#globalContactWrapper #cc-email-exists-box {
    border-radius: 3px;
}
#globalContactWrapper .cc-email-input-wrap {
    display: block;
    max-width: none;
}
@media (max-width: 767px) {
    #globalContactWrapper {
        margin-bottom: 16px;
    }
    #globalContactWrapper .cc-head {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px;
    }
    #globalContactWrapper .cc-head-ic {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    #globalContactWrapper .cc-head-main {
        flex-basis: calc(100% - 54px);
    }
    #globalContactWrapper .cc-head-title {
        font-size: 18px;
    }
    #globalContactWrapper .cc-head > .cc-badge {
        margin-left: 54px;
    }
    #globalContactWrapper .cc-card {
        padding: 14px;
    }
    #globalContactWrapper .cc-history-head .cc-badge {
        display: none;
    }
    #globalContactWrapper .cc-actions .cc-send {
        width: 100%;
        justify-content: center;
    }
    #globalContactWrapper .cc-hist-item,
    #globalContactWrapper .cc-ticket {
        flex-wrap: wrap;
    }
    #globalContactWrapper .cc-hist-main {
        flex-basis: calc(100% - 80px);
    }
    #globalContactWrapper .cc-hist-meta {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        padding-left: 48px;
        text-align: left;
    }
    #globalContactWrapper .cc-closed-bar {
        flex-wrap: wrap;
    }
    #globalContactWrapper .cc-closed-new {
        width: 100%;
    }
}
