/* ============================================= */
/* MLSZ Jira Support – TELJES RESZPONZÍV CSS     */
/* 1100px + 20px padding + JAVÍTOTT HERO + FORM SELECTOR */
/* ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fafbfc;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ========== KÖZÖS KONTÉNER – 1100px + 20px padding ========== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* ========== JAVÍTOTT HERO RÉSZ – TÖKÉLETES KÖZÉP ========== */
#hero {
    background: #930a0c;
    position: relative;
    min-height: 385px;
    max-height: 385px;
    overflow: hidden;
    padding: 0 20px;
}

@media (max-width: 480px) {
    #hero {
        padding: 0 15px;
    }
}

#hero-images {
    position: relative;
    display: flex;
    align-items: flex-start;
    max-width: 1100px;
    height: 385px;
    width: 100%;
    margin: 0 auto;
    max-height: 385px;
}

#hero-bg-left {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    display: block;
}

#hero-bg-right {
    position: absolute;
    width: 50%;
    right: 0;
    bottom: 0;
    height: auto;
    max-width: 300px;
    z-index: 0;
}

/* HERO CONTENT – KÖZÉPEN, 1100px KONTÉNERBEN */
#hero-content {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    text-align: center;
}

@media (max-width: 480px) {
    #hero-content {
        padding: 0 15px;
    }
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-align: center;
  padding: 0;
}

.hero-center-padding {
  padding-left: 0;
  padding-right: 0;
}

.hero-subtitle {
  font-size: 1.3125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  text-align: left;
  line-height: 1.2;
}

.hero-paragraph {
  font-size: 1rem;
  font-weight: 400;
  color: white;
  max-width: 900px;
  margin: 0;
  line-height: 1.5;
  text-align: left;
}

.hero-text {
  font-size: 1rem;
  font-weight: 400;
  color: white;
  max-width: 900px;
  margin: 0;
  line-height: 1.5;
  text-align: left;
  padding-left: 20px;
}

.hero-left-padding {
  padding-left: 20px;
}

/* MÉDIA LEKÉRDEZÉSEK A RESZPONZÍVÍTÉSHEZ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-paragraph {
    font-size: 0.9rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-paragraph {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .hero-paragraph {
    font-size: 0.8rem;
  }
}

.tabs {
    display: flex;
    justify-content: left;
    gap: 8px;
    padding: 0px 20px;
}

@media (max-width: 768px) {
    .tabs {
        justify-content: center;
        padding-left: 0;
        flex-wrap: wrap;
    }
    .tab {
        padding: 10px 18px;
        font-size: 0.95rem;
        border-radius: 10px 10px 0 0;
    }
}

.tab {
    background: #fff;
    color: #222;
    font-weight: bold;
    border: none;
    border-radius: 12px 12px 0 0;
    padding: 14px 32px 10px 32px;
    box-shadow: 0 3px 15px rgba(60,0,0,0.10);
    margin-bottom: -3px;
    font-size: 1rem;
    transition: box-shadow .2s, background .2s;
    cursor: pointer;
}

.tab:not(.active) {
    background: #f7dfdf;
    color: #444;
}

.tab.active {
    box-shadow: 0 6px 13px rgba(60,0,0,0.19);
    background: #fff;
    color: #111;
    z-index: 1;
}

.tab:hover {
    background-color: #f0e5e5;
}

/* MAIN CONTENT */
#main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 350px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
    #main-content {
        padding: 0 15px;
    }
}

/* KÁRTYÁK – AUTO-FIT GRID */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    justify-content: center;
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .cards-container {
        padding: 0 15px;
    }
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 1px 8px 0 rgba(0,0,0,0.01);
    border: 2px solid #ececec;
    background: #fff;
    min-height: 200px;
    max-width: 100%;
    cursor: pointer;
    transition: all .2s ease;
}

.card:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 30px #93191a30;
    border: 1.5px solid #93191a80;
}

.card-icon {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card-emoji {
    width: 60px;
    height: 60px;
    font-size: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 8px;
}

.card-desc {
    min-height: 38px;
    color: #565656;
    font-size: 1em;
}

/* FORM SELECTOR – KÉP SZERINTI MEGJELENÉS */
.form-selector {
    max-width: 1100px;
    margin: 20px auto;
    text-align: left;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .form-selector {
        padding: 0 15px;
    }
}

.form-selector p {
    margin: 0 0 0.75rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.form-select-wrapper {
    position: relative;
    display: block;
}

.form-select-custom {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background: white;
    appearance: none;
    cursor: pointer;
    outline: none;
    font-family: 'Segoe UI', Arial, sans-serif;
    transition: all 0.2s ease;
}

.form-select-custom:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(147, 25, 26, 0.15);
    background: #fff;
}

.form-select-custom option[disabled] {
    color: #999;
}

/* Nyíl ikon – SVG */
.form-select-wrapper::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2393191a' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    pointer-events: none;
}

.ticket-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fafbfc;
}

/* TYPE CARD – HOSSZÚKÁS KÁRTYÁK */
.type-card-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    margin-top: 32px;
    padding: 0 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 480px) {
    .type-card-list {
        padding: 0 15px;
    }
}

.type-card {
    width: 100%;
    max-width: 1100px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px #93191a13;
    border: 1.5px solid #f5f6fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 16px;
    cursor: pointer;
    transition: box-shadow .2s, border .2s;
}

.type-card:hover {
    box-shadow: 0 7px 28px #93191a31;
    border: 1.5px solid #93191a80;
    background: #fff7f7;
}

.type-card-emoji {
    font-size: 2.8rem;
    color: #93191a;
}

.type-card-content {
    flex: 1;
}

.type-card-title {
    font-size: 1.11rem;
    font-weight: 600;
    color: #231f20;
    margin-bottom: 3px;
}

.type-card-desc {
    font-size: .92rem;
    color: #555;
}

/* ============================================= */
/* TICKET TÁBLÁZAT – TELJES SZÉLESSÉG + KÁRTYÁS MOBIL */
/* ============================================= */

/* ======================================== */
/*  TÁBLÁZAT KONTÉNER – GÖRGETÉS, ÁRNYÉK   */
/* ======================================== */
.table-container {
    overflow-x: auto;
    margin: 36px auto;
    max-width: 1100px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ======================================== */
/*  TÁBLÁZAT ALAP – ASZTALI NÉZET          */
/* ======================================== */
/* ======================================== */
/*  TÁBLÁZAT ALAP – ASZTALI NÉZET          */
/* ======================================== */
.ticket-table {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 !important;
    border-collapse: collapse;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    table-layout: auto !important;
    overflow: hidden;
}

/* Fejléc */
.ticket-table th {
    background: #a80013;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px !important;
    white-space: nowrap;
    font-size: 0.95rem;
    border: none;
}

/* Cellák – asztali */
.ticket-table td {
    padding: 12px 16px !important;
    background: #f7f8fa;
    color: #292929;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
}

/* Hover effekt */
.ticket-table tr:hover td {
    background: #f1e5e5 !important;
}

/* ======================================== */
/*  OSZLOPOK + SÁVOS HÁTTÉR – CSAK ASZTALI */
/* ======================================== */
@media (min-width: 768px) {
    .ticket-table th:nth-child(1), .ticket-table td:nth-child(1) { width: 10%; }
    .ticket-table th:nth-child(2), .ticket-table td:nth-child(2) { width: 35%; }
    .ticket-table th:nth-child(3), .ticket-table td:nth-child(3) { width: 15%; }
    .ticket-table th:nth-child(4), .ticket-table td:nth-child(4) { width: 25%; }
    .ticket-table th:nth-child(5), .ticket-table td:nth-child(5) { width: 15%; }

    /* SÁVOS HÁTTÉR CSAK ITT! */
    .ticket-table tr:nth-child(even) td {
        background: #eaecef !important;
    }
}

/* ======================================== */
/*  STÁTUSZ SZÍNEK                         */
/* ======================================== */
.status-open     { color: #176be9 !important; font-weight: 600; }
.status-pending  { color: #e30002 !important; font-weight: 600; }
.status-waiting  { color: #d2691e !important; font-weight: 600; }
.status-estimate { color: #c513ef !important; font-weight: 600; }
.status-closed   { color: #008a00 !important; font-weight: 600; }
.status-wip      { color: #1e00c9 !important; font-weight: 600; }

/* ======================================== */
/*  MOBIL: KÁRTYÁS NÉZET (768px alatt)     */
/* ======================================== */
@media (max-width: 767px) {
    .table-container {
        margin: 20px 15px;
        box-shadow: none;
        overflow: visible;
    }

    .ticket-table {
        display: block !important;
        overflow: visible !important;
        box-shadow: none !important;
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0;
        width: 100% !important;
        max-width: none !important;
    }

    .ticket-table thead {
        display: none !important;
    }

    .ticket-table tbody,
    .ticket-table tr {
        display: block !important;
        width: 100% !important;
        margin-bottom: 18px;
    }

    .ticket-table tr {
        background: #fff !important;
        border: 1.5px solid #ddd;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 3px 12px rgba(0,0,0,0.08);
        transition: all 0.2s ease;
    }

    .ticket-table tr:hover {
        box-shadow: 0 6px 16px rgba(168, 0, 19, 0.15);
        transform: translateY(-2px);
    }

    /* Kártya cellák */
    .ticket-table td {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        padding: 10px 16px !important;
        background: #fff !important;
        border-bottom: 1px solid #eee;
        font-size: 0.95rem;
        line-height: 1.45;
        width: 100% !important;
        box-sizing: border-box;
    }

    .ticket-table td:last-child {
        border-bottom: none;
        padding-bottom: 16px !important;
    }

    /* KULCS – piros fejléc a kártyán */
    .ticket-table td:first-child {
        padding: 16px !important;
        background: #a80013 !important;
        color: white !important;
        font-weight: 600;
        border-radius: 10px 10px 0 0;
        margin: 0;
    }

    .ticket-table td:first-child a {
        color: white !important;
        text-decoration: none;
        font-weight: 600;
    }

    /* Címke bal oldalon */
    .ticket-table td:before {
        content: attr(data-label) ":";
        font-weight: 600;
        color: #a80013;
        flex: 0 0 120px;
        min-width: 120px;
        margin-right: 16px;
        font-size: 0.96rem;
        line-height: 1.45;
    }

    /* Tartalom – tördelhető */
    .ticket-table td > * {
        flex: 1;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        text-align: left;
    }

    /* Státusz színek mobilon is */
    .ticket-table td span.status-open,
    .ticket-table td span.status-pending,
    .ticket-table td span.status-waiting,
    .ticket-table td span.status-estimate,
    .ticket-table td span.status-closed,
    .ticket-table td span.status-wip {
        font-weight: 600;
        display: inline-block;
    }
}

/* ============================================= */
/* JIRA ŰRLAP – KÁRTYÁS, MODERN, DRAG & DROP     */
/* ============================================= */

.jira-form-card {
    max-width: 1100px;
    margin: 32px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(147, 25, 26, 0.07);
    border: 1.5px solid #f5f6fa;
    padding: 28px 20px;
}

@media (max-width: 600px) {
    .jira-form-card {
        margin: 16px 15px;
        padding: 20px 15px;
        border-radius: 10px;
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 540;
    color: #000;
    margin-bottom: 6px;
    font-size: 1rem;
}

.form-group label .required {
    color: #d32f2f;
    font-weight: 600;
    margin-left: 2px;
}

.jira-form-card input[type="text"],
.jira-form-card input[type="email"],
.jira-form-card input[type="url"],
.jira-form-card textarea,
.jira-form-card select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.2s;
}

.jira-form-card input:focus,
.jira-form-card textarea:focus,
.jira-form-card select:focus {
    outline: none;
    border-color: #93191a;
    box-shadow: 0 0 0 3px rgba(147, 25, 26, 0.15);
    background: #fff;
}

.jira-form-card textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.jira-form-card select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2393191a' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 40px;
}

.form-check-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #93191a;
    cursor: pointer;
}

.form-check label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
    color: #333;
}

.form-check-group .extra-input {
    margin-top: 8px;
}

.attachment-dropzone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 32px 20px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.attachment-dropzone.active {
    border-color: #93191a;
    background: #fff7f7;
    box-shadow: 0 0 0 3px rgba(147, 25, 26, 0.1);
}

.attachment-dropzone p {
    margin: 0 0 12px 0;
    color: #666;
    font-size: 0.95rem;
}

.attachment-dropzone small {
    color: #999;
    font-size: 0.85rem;
}

.attachment-filelist {
    margin-top: 16px;
    padding: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #444;
}

.attachment-filelist ul {
    margin: 8px 0;
    padding-left: 20px;
}

.attachment-filelist small {
    color: #93191a;
    font-weight: 600;
}

.form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn-submit,
.btn-cancel,
.btn-browse {
    padding: 11px 28px;
    border: none;
    border-radius: 7px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 120px;
    text-align: center;
}

.btn-submit {
    background: #93191a;
    color: #fff;
}

.btn-submit:hover {
    background: #b73e43;
    transform: translateY(-1px);
}

.btn-cancel {
    background: #6c757d;
    color: #fff;
}

.btn-cancel:hover {
    background: #5a6268;
}

.btn-browse {
    background: #e0e0e0;
    color: #333;
    font-size: 0.95rem;
}

.btn-browse:hover {
    background: #d0d0d0;
}

@media (max-width: 600px) {
    .form-buttons {
        flex-direction: column;
    }
    .btn-submit,
    .btn-cancel,
    .btn-browse {
        width: 100%;
    }
}

#responseMessage {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

#responseMessage:empty {
    display: none;
}

/* RICH TEXT EDITOR (Quill) */
.ql-container {
    border-radius: 8px !important;
    border: 1.5px solid #ddd !important;
    background: #f9f9f9 !important;
}

.ql-toolbar {
    border-radius: 8px 8px 0 0 !important;
    border-bottom: 1.5px solid #ddd !important;
    background: #fff !important;
}

.ql-editor {
    min-height: 100px;
    font-size: 1rem;
    padding: 12px 14px;
}

/* TICKET DETAIL */
.ticket-header-panel {
    padding: 24px 20px 16px 20px;
    margin: 30px auto;
    max-width: 1100px;
}

@media (max-width: 480px) {
    .ticket-header-panel {
        padding: 24px 15px 16px 15px;
    }
}

.ticket-header-panel h2 {
    margin: 0 0 12px 0;
    color: #b8001b;
    font-size: 1.35rem;
    font-weight: 700;
}

.ticket-header-panel .row {
    margin-bottom: 7px;
    font-size: 1.1em;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-header-panel .row label {
    color: #767676;
    font-weight: 600;
    min-width: auto;
}

.ticket-header-panel .stat {
    color: #1976d2;
    font-weight: bold;
}

.ticket-header-panel .date {
    color: #84704e;
}

@media (min-width: 768px) {
    .ticket-header-panel .row {
        flex-direction: row;
        gap: 12px;
    }
    .ticket-header-panel .row label {
        min-width: 110px;
    }
}

.ticket-comment {
    background: #f7f8fa;
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 16px 20px 12px 20px;
    color: #2b2424;
    box-shadow: 0 1px 3px rgba(70,70,70,0.05);
    position: relative;
}

@media (max-width: 480px) {
    .ticket-comment {
        padding: 16px 15px 12px 15px;
    }
}

.ticket-comment b {
    color: #b8001b;
    font-weight: 700;
    margin-right: 10px;
}

.ticket-comment .timestamp {
    color: #888;
    font-size: 0.92em;
    float: right;
    font-weight: 400;
}

.ticket-comment:last-child {
    margin-bottom: 0;
}

.ticket-comment .body {
    margin-top: 8px;
    margin-bottom: 0;
    white-space: pre-line;
    font-size: 1.06em;
}

.ticket-comment:nth-child(odd) {
    background: #eaecef;
}

.csatolmany-name {
    display: inline-block;
    width: 120px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}

/* ============================================= */
/* EREDETI LOADER – TELJESEN MEGMARADT!         */
/* ============================================= */

/* GLOBÁLIS LOADER – main.js-hez */
#global-loader {
    position: fixed;
    top: 0; left: 0;
    background: #a09e9e8e;
    width: 100vw;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    text-align: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#global-loader.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

#global-loader.hide {
    opacity: 0;
    visibility: hidden;
}

#global-loader .loader-spin {
    width: 160px;
    height: 160px;
    animation: spin-edge 2s linear infinite;
}

@keyframes spin-edge {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

#global-loader p {
    color: #b91c1c;
    margin-top: 1em;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Régi .loader-overlay (main-content-hez) – marad, de nem használjuk globálisan */
.loader-overlay {
    position: relative;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-radius: 8px;
    z-index: 10;
}


.loader-overlay {
    position: fixed;
    top: 0; left: 0;
    background: #a09e9e8e;
    width: 100vw;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    text-align: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-overlay.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.loader-overlay.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-spin {
    width: 160px;
    height: 160px;
    animation: spin-edge 2s linear infinite;
}

@keyframes spin-edge {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.loader-overlay p {
    color: white;
    margin-top: 1em;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ============================================= */
/* TARTALOM ELREJTÉSE – CSAK SZÖVEGEK + MAIN    */
/* ============================================= */

.content-loading #hero-content > *:not(.tabs),
.content-loading #main-content {
    opacity: 0 !important;
    transition: opacity 0.4s ease;
}

.content-loaded #hero-content > *:not(.tabs),
.content-loaded #main-content {
    opacity: 1 !important;
    transition: opacity 0.6s ease 0.2s;
}

/* Hero képek MINDIG láthatóak */
#hero-images img {
    transition: none !important;
    opacity: 1 !important;
}

/* iOS ZOOM FIX */
button, input, textarea, select {
    font-size: 16px !important;
}

/* TYPE CARD MOBIL */
@media (min-width: 768px) {
    .type-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    .type-card-emoji {
        min-width: 52px;
        font-size: 2.4rem;
    }
}

/* MOBIL FIXEK */
@media (max-width: 480px) {
    .jira-form-card,
    .type-card,
    .cards-container,
    #main-content,
    .ticket-header-panel,
    .form-selector,
    .ticket-comment {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .attachment-dropzone {
        padding: 24px 16px;
    }
}

/* ============================================= */
/* QUILL JS – TELJESEN ILLÉSZTETT                */
/* ============================================= */

.quill-wrapper {
    margin-bottom: 24px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    overflow: hidden;
    transition: all 0.2s ease;
    font-family: inherit;
    max-width: 100%;
}

.quill-wrapper:focus-within {
    border-color: #93191a;
    box-shadow: 0 0 0 3px rgba(147, 25, 26, 0.15);
    background: #fff;
}

.quill-wrapper .ql-toolbar {
    background: #fff !important;
    border: none !important;
    border-bottom: 1.5px solid #ddd !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 8px 10px !important;
    font-size: 0.95rem;
}

.quill-wrapper .ql-toolbar.ql-snow {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.quill-wrapper .ql-container {
    background: #f9f9f9 !important;
    border: none !important;
    border-radius: 0 0 8px 8px !important;
    font-size: 1rem !important;
    min-height: 120px;
}

.quill-wrapper .ql-editor {
    min-height: 120px !important;
    padding: 12px 14px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    background: #f9f9f9 !important;
    color: #222;
}

.quill-wrapper:focus-within .ql-editor {
    background: #fff !important;
}

/* Placeholder */
.quill-wrapper .ql-editor.ql-blank::before {
    color: #999 !important;
    font-style: italic;
    font-size: 1rem;
    content: attr(data-placeholder);
}

/* Gombok színe */
.quill-wrapper .ql-stroke { stroke: #555 !important; }
.quill-wrapper .ql-fill { fill: #555 !important; }
.quill-wrapper .ql-picker { color: #333 !important; }

/* Aktív */
.quill-wrapper .ql-active {
    background: #93191a !important;
    color: white !important;
    border-radius: 4px;
}
.quill-wrapper .ql-active .ql-stroke { stroke: white !important; }
.quill-wrapper .ql-active .ql-fill { fill: white !important; }

/* Hover */
.quill-wrapper .ql-toolbar button:hover,
.quill-wrapper .ql-toolbar .ql-picker-label:hover {
    background: #f0e5e5 !important;
    color: #93191a !important;
    border-radius: 4px;
}
.quill-wrapper .ql-toolbar button:hover .ql-stroke { stroke: #93191a !important; }
.quill-wrapper .ql-toolbar button:hover .ql-fill { fill: #93191a !important; }

/* Mobil */
@media (max-width: 768px) {
    .quill-wrapper .ql-toolbar { padding: 6px 8px !important; }
    .quill-wrapper .ql-editor { font-size: 0.95rem !important; padding: 10px 12px !important; }
    .quill-wrapper .ql-toolbar button { width: 28px; height: 28px; padding: 0; }
}