@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

.db-icon {
    width: 1rem;
    height: 1rem;
    background-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
    opacity: 1;
}

.db-icon-globe {
    mask-image: url(/images/globe2.svg);
    -webkit-mask-image: url(/images/globe2.svg);
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}


.or {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .or .or-line {
        border-bottom: 1px solid var(--bs-body-color);
        width: 100%;
        opacity: 0.2;
    }

    .or .or-text {
        padding: 0 0.625rem 0px 0.625rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: var(--bs-body-color);
        opacity: 0.7;
    }

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;
        margin: 0 0.1875rem;
        border-radius: 50%;
        background-color: var(--bs-body-color);
        opacity: 0.7;
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary);
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .info-message.info-panel {
        margin-bottom: 0.625rem;
    }

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.icon-external-provider {
    width: 1rem;
    height: 1rem;
}

.icon-google {
    background-image: url("/images/account/providers/google-logo.svg")
}

.icon-facebook {
    background-image: url("/images/account/providers/facebook-logo.svg")
}

.icon-microsoft {
    background-image: url("/images/account/providers/microsoft-logo.svg")
}

.icon-twitter {
    background-image: url("/images/account/providers/x-logo.svg")
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }

    .popup-form-event {
        width: 340px !important;
    }
}

/* === NAVMENU ===*/

.sidebar-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
}

.sidebar-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.4px;
    margin: 0;
}

.sidebar-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-top: 4px;
}

/* === INDEX === */
.index-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.index-layout {
    min-height: calc(100vh - 180px);
}

.index-card {
    background: #eef4f8;
    border: 1px solid rgba(18, 56, 95, 0.08);
    border-color: #0d5e91;
    border-radius: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 45, 80, 0.08);
    padding: 1rem;
    overflow: hidden;
}

.index-card-event {
    background: linear-gradient(180deg, #fffaf0 0%, #f3ead7 100%);
    border: 1px solid rgba(18, 56, 95, 0.08);
    border-color: #876a26;
    border-radius: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 45, 80, 0.08);
    padding: 1rem;
    overflow: hidden;
}

.index-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #12385f;
}

.index-header p {
    margin: 0.4rem 0 0 0;
    color: #6b7f90;
}

.card-title-wrap {
    margin-bottom: 1rem;
}

    .card-title-wrap h2 {
        font-size: 1.3rem;
        font-weight: 900;
        color: #12385f;
    }

    .card-title-wrap span {
        color: #6b7f90;
        font-size: 0.92rem;
    }

.invitation-grid {
    border: none;
    background: transparent;
}

.qr-card {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: #f8fbfd;
    border: 1px solid rgba(18, 56, 95, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-image {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.code-box {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 0.75rem;
    background: #eef4f8;
    font-weight: 600;
}

.status-pill {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #0f4c81;
    font-weight: 600;
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.detail-btn {
    border-radius: 1rem !important;
}

.summary-card {
    min-height: 120px;
    display: flex;
    align-items: center;
}

.summary-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.summary-label {
    font-size: 0.95rem;
    color: #6b7f90;
    font-weight: 600;
}

.summary-value {
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: #12385f;
}

.summary-card-primary {
    background: linear-gradient(135deg, #0f4c81 0%, #1565a8 55%, #22c7d6 100%);
    border: none;
    box-shadow: 0 14px 30px rgba(15, 76, 129, 0.28);
    position: relative;
    overflow: hidden;
}

    .summary-card-primary::after {
        content: "";
        position: absolute;
        top: -30%;
        right: -20%;
        width: 140px;
        height: 140px;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 50%;
    }

    .summary-card-primary .summary-label,
    .summary-card-primary .summary-value {
        color: #ffffff;
        position: relative;
        z-index: 1;
    }

.summary-card-success {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 55%, #4ade80 100%);
    border: none;
    box-shadow: 0 14px 30px rgba(22, 163, 74, 0.25);
    position: relative;
    overflow: hidden;
}

    .summary-card-success::after {
        content: "";
        position: absolute;
        top: -30%;
        right: -20%;
        width: 140px;
        height: 140px;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 50%;
    }

    .summary-card-success .summary-label,
    .summary-card-success .summary-value {
        color: #ffffff;
        position: relative;
        z-index: 1;
    }

.summary-card-danger {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 55%, #f87171 100%);
    border: none;
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.24);
    position: relative;
    overflow: hidden;
}

    .summary-card-danger::after {
        content: "";
        position: absolute;
        top: -30%;
        right: -20%;
        width: 140px;
        height: 140px;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 50%;
    }

    .summary-card-danger .summary-label,
    .summary-card-danger .summary-value {
        color: #ffffff;
        position: relative;
        z-index: 1;
    }

.summary-card-neutral {
    background: linear-gradient(135deg, #475569 0%, #64748b 55%, #94a3b8 100%);
    border: none;
    box-shadow: 0 14px 30px rgba(71, 85, 105, 0.22);
    position: relative;
    overflow: hidden;
}

    .summary-card-neutral::after {
        content: "";
        position: absolute;
        top: -30%;
        right: -20%;
        width: 140px;
        height: 140px;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 50%;
    }

    .summary-card-neutral .summary-label,
    .summary-card-neutral .summary-value {
        color: #ffffff;
        position: relative;
        z-index: 1;
    }

.invitation-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.invitation-type-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.invitation-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.15s ease;
}

    .invitation-type-badge:hover {
        transform: translateY(-1px);
    }

.invitation-type-icon {
    font-size: 15px;
    line-height: 1;
}

.invitation-type-count {
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

.invitation-type-paper {
    background-color: #faf5ff;
    color: #7c3aed;
    border: 1px solid #d8b4fe;
}

.invitation-type-email {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

/* === User === */
.grid-tamplate-user {
    border-radius: 10px;
}

.grid-header-align-center {
    text-align: center;
    width: 100%;
}

/* === COMMON === */
.title-content-text-center {
    font-size: 1.0rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.8rem;
    margin-top: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
    line-height: 1.5;
    text-align: center;
}

.grid-icon-adduser {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 28px;
    background-image: url("/images/common/add_code.svg");
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #97f56522;
    box-shadow: 0 4px 10px rgba(101, 223, 245, 0.6);
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid transparent;
    border-color: #97f565;
    transition: 0.15s ease;
}

    .grid-icon-adduser:hover {
        transform: translateY(-2px) scale(1.05);
    }

.grid-icon-exportQR {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 28px;
    background-image: url("/images/common/qr_code.svg");
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffd84d22;
    box-shadow: 0 4px 10px rgba(255, 216, 77, 0.6);
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid transparent;
    border-color: #ffd84d;
    transition: 0.15s ease;
}

    .grid-icon-exportQR:hover {
        transform: translateY(-2px) scale(1.05);
    }

.grid-icon-exportExcel {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 28px;
    background-image: url("/images/common/excel.svg");
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #9865f522;
    box-shadow: 0 4px 10px rgba(152, 101, 245, 0.6);
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid transparent;
    border-color: #9865f5;
    transition: 0.15s ease;
}

    .grid-icon-exportExcel:hover {
        transform: translateY(-2px) scale(1.05);
    }

.grid-icon-edit {
    display: inline-flex;
    justify-content: left;
    align-items: center;
    width: 18px;
    height: 16px;
    background-image: url("/images/common/edit.svg");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #68c2ff22;
    box-shadow: 0 4px 10px rgba(101, 223, 245, 0.6);
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid transparent;
    border-color: #68c2ff;
    transition: 0.15s ease;
}

    .grid-icon-edit:hover {
        transform: translateY(-2px) scale(1.05);
    }

.grid-icon-delete {
    display: inline-flex;
    justify-content: left;
    align-items: center;
    width: 18px;
    height: 16px;
    background-image: url("/images/common/delete.svg");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fb505022;
    box-shadow: 0 6px 14px rgba(251, 80, 80, 0.6);
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid transparent;
    border-color: #fb5050;
    transition: 0.15s ease;
}

    .grid-icon-delete:hover {
        transform: translateY(-2px) scale(1.05);
    }

.grid-icon-resetpassworduser {
    display: inline-flex;
    justify-content: left;
    align-items: center;
    width: 18px;
    height: 16px;
    background-image: url("/images/users_page/resetpassword_user.svg");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #9865f522;
    box-shadow: 0 4px 10px rgba(152, 101, 245, 0.6);
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid transparent;
    border-color: #9865f5;
    transition: 0.15s ease;
}

    .grid-icon-resetpassworduser:hover {
        transform: translateY(-2px) scale(1.05);
    }

.save-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 36px;
    padding: 0 12px;
    background-color: #97f56522;
    box-shadow: 0 4px 10px rgba(151, 245, 101, 0.6);
    cursor: pointer;
    border-radius: 15px;
    border: 1px solid transparent;
    border-color: #97f565;
    transition: 0.15s ease, transform 0.15s ease;
    color: #63a042;
    font-size: 14px;
    margin-bottom: 0.8rem;
}

    .save-button:hover {
        border-color: #7ee14f !important;
        background-color: #97f565 !important;
        box-shadow: 0 4px 10px rgba(151, 245, 101, 0.4), 0 6px 12px rgba(151, 245, 101, 0.7) !important;
        transform: translateY(-2px) scale(1.05) !important;
    }

.deletepop-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 36px;
    padding: 0 12px;
    background-color: rgba(220, 53, 69, 0.14);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.35);
    cursor: pointer;
    border-radius: 15px;
    border: 1px solid transparent;
    border-color: #dc3545;
    transition: 0.15s ease, transform 0.15s ease;
    color: #b42333;
    font-size: 14px;
    margin-bottom: 0.8rem;
}

    .deletepop-button:hover {
        border-color: #c82333 !important;
        background-color: #dc3545 !important;
        box-shadow: 0 4px 10px rgba(220, 53, 69, 0.28), 0 6px 12px rgba(220, 53, 69, 0.45) !important;
        transform: translateY(-2px) scale(1.05) !important;
        color: #fff !important;
    }

.cancel-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 36px;
    padding: 0 12px;
    background-color: #cccccc22;
    box-shadow: 0 4px 10px rgba(128, 128, 128, 0.4);
    cursor: pointer;
    border-radius: 15px;
    border: 1px solid transparent;
    border-color: #cccccc;
    transition: 0.15s ease, transform 0.15s ease;
    color: #666666;
    font-size: 14px;
}

    .cancel-button:hover {
        border-color: #999999 !important;
        background-color: #cccccc !important;
        box-shadow: 0 4px 10px rgba(128, 128, 128, 0.3), 0 6px 12px rgba(128, 128, 128, 0.5) !important;
        transform: translateY(-2px) scale(1.05) !important;
    }

.grid-icon-sendEmail {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 28px;
    background-image: url("/images/common/send_email.svg");
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid transparent;
    border-color: #8b5e3c;
    transition: 0.15s ease;
}

    .grid-icon-sendEmail:hover {
        transform: translateY(-2px) scale(1.05);
    }

.grid-icon-sendEmailRow {
    display: inline-flex;
    justify-content: left;
    align-items: center;
    width: 18px;
    height: 16px;
    background-image: url("/images/common/send_email.svg");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid transparent;
    border-color: #8b5e3c;
    transition: 0.15s ease;
}

    .grid-icon-sendEmailRow:hover {
        transform: translateY(-2px) scale(1.05);
    }

.grid-icon-reminder {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 28px;
    background-image: url("/images/common/reminder.svg");
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid transparent;
    border-color: #8b5e3c;
    transition: 0.15s ease;
}

    .grid-icon-reminder:hover {
        transform: translateY(-2px) scale(1.05);
    }


/* === PopUpEvent === */
.event-create-popup .dxbl-popup-content {
    padding: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
}

.event-create-wrap {
    padding: 24px 22px 20px 22px;
    text-align: center;
    border: 1px solid rgba(70, 132, 255, 0.28);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(70, 132, 255, 0.14);
    background: radial-gradient(circle at top, rgba(70, 132, 255, 0.12), transparent 55%), linear-gradient(180deg, #fbfdff 0%, #eef5ff 100%);
}

.event-create-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px auto;
    background-image: url("/images/common/event.svg");
    background-size: 28px 28px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(70, 132, 255, 0.12);
    box-shadow: 0 6px 18px rgba(70, 132, 255, 0.28);
    border-radius: 14px;
    border: 1px solid #4684ff;
}

.event-create-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d57b8;
    margin-bottom: 8px;
}

.event-create-text {
    font-size: 15px;
    line-height: 1.5;
    color: #61708f;
    margin-bottom: 18px;
}

.event-create-form {
    text-align: left;
    margin-bottom: 20px;
}

    .event-create-form .dxfl-caption {
        color: #4167bf;
        font-weight: 600;
    }

.event-create-input .dxbl-edit,
.event-create-input input,
.event-create-input textarea {
    border-radius: 10px !important;
}

.event-create-input .dxbl-edit {
    border: 1px solid rgba(70, 132, 255, 0.34) !important;
    background: #fcfeff !important;
    box-shadow: 0 4px 10px rgba(70, 132, 255, 0.07);
}

    .event-create-input .dxbl-edit:focus-within,
    .event-create-input input:focus,
    .event-create-input textarea:focus {
        border-color: #4684ff !important;
        box-shadow: 0 0 0 3px rgba(70, 132, 255, 0.16) !important;
    }

.event-create-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.event-create-btn {
    min-width: 120px;
    border-radius: 10px !important;
    transition: 0.15s ease;
}

.event-create-btn-primary {
    background: linear-gradient(180deg, #79a8ff 0%, #4684ff 100%) !important;
    border: 1px solid #3773ea !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(70, 132, 255, 0.24);
}

    .event-create-btn-primary:hover {
        background: linear-gradient(180deg, #8bb4ff 0%, #5a92ff 100%) !important;
        border-color: #2e67db !important;
    }

.event-create-btn-secondary {
    background: #ffffff !important;
    border: 1px solid rgba(70, 132, 255, 0.30) !important;
    color: #3f67bf !important;
}

    .event-create-btn-secondary:hover {
        background: #f3f8ff !important;
        border-color: #4684ff !important;
    }

/* === PopUpExportCode === */

.export-confirm-popup .dxbl-popup-content {
    padding: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf4 0%, #fff8db 100%);
}

.export-confirm-wrap {
    padding: 24px 22px 20px 22px;
    text-align: center;
    border: 1px solid rgba(255, 216, 77, 0.55);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(255, 216, 77, 0.18);
    background: radial-gradient(circle at top, rgba(255, 216, 77, 0.18), transparent 55%), linear-gradient(180deg, #fffef8 0%, #fff7d1 100%);
}

.export-confirm-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 42px;
    margin: 0 auto 14px auto;
    background-image: url("/images/common/qr_code.svg");
    background-size: 22px 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffd84d22;
    box-shadow: 0 4px 10px rgba(255, 216, 77, 0.6);
    border-radius: 8px;
    border: 1px solid #ffd84d;
}

.export-confirm-title {
    font-size: 22px;
    font-weight: 700;
    color: #7a5a00;
    margin-bottom: 8px;
}

.export-confirm-text {
    font-size: 15px;
    line-height: 1.5;
    color: #6f6750;
    margin-bottom: 22px;
}

.export-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.export-confirm-btn {
    min-width: 120px;
    border-radius: 10px !important;
    transition: 0.15s ease;
}

.export-confirm-btn-primary {
    background: linear-gradient(180deg, #ffe27a 0%, #ffd84d 100%) !important;
    border: 1px solid #e5bf2f !important;
    color: #4d3b00 !important;
    box-shadow: 0 6px 14px rgba(255, 216, 77, 0.35);
}

    .export-confirm-btn-primary:hover {
        background: linear-gradient(180deg, #ffe88d 0%, #ffdf63 100%) !important;
        border-color: #d9b62c !important;
    }

.export-confirm-btn-secondary {
    background: #fffdf6 !important;
    border: 1px solid #f1d979 !important;
    color: #7a5a00 !important;
}

    .export-confirm-btn-secondary:hover {
        background: #fff7da !important;
        border-color: #e6c95b !important;
    }

/* === PopUpExportExcel === */
.excel-confirm-wrap {
    padding: 24px 22px 20px 22px;
    text-align: center;
    border: 1px solid rgba(152, 101, 245, 0.45);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(152, 101, 245, 0.18);
    background: radial-gradient(circle at top, rgba(152, 101, 245, 0.16), transparent 55%), linear-gradient(180deg, #fcfaff 0%, #f3edff 100%);
}

.excel-confirm-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 42px;
    margin: 0 auto 14px auto;
    background-image: url("/images/common/excel.svg");
    background-size: 22px 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(152, 101, 245, 0.12);
    box-shadow: 0 4px 10px rgba(152, 101, 245, 0.35);
    border-radius: 8px;
    border: 1px solid #9865f5;
}

.excel-confirm-title {
    font-size: 22px;
    font-weight: 700;
    color: #6f42d9;
    margin-bottom: 8px;
}

.excel-confirm-text {
    font-size: 15px;
    line-height: 1.5;
    color: #6f6750;
    margin-bottom: 22px;
}

.excel-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.excel-confirm-btn {
    min-width: 120px;
    border-radius: 10px !important;
    transition: 0.15s ease;
}

.excel-confirm-btn-primary {
    background: linear-gradient(180deg, #a97cff 0%, #9865f5 100%) !important;
    border: 1px solid #8752ea !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(152, 101, 245, 0.32);
}

    .excel-confirm-btn-primary:hover {
        background: linear-gradient(180deg, #b58cff 0%, #a06df8 100%) !important;
        border-color: #7d47e3 !important;
    }

.excel-confirm-btn-secondary {
    background: #faf7ff !important;
    border: 1px solid rgba(152, 101, 245, 0.35) !important;
    color: #6f42d9 !important;
}

    .excel-confirm-btn-secondary:hover {
        background: #f3ecff !important;
        border-color: #9865f5 !important;
    }

/* === PopUpDelete === */

.delete-confirm-popup .dxbl-popup-content {
    padding: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffafa 0%, #fff1f1 100%);
}

.delete-confirm-wrap {
    padding: 24px 22px 20px 22px;
    text-align: center;
    border: 1px solid rgba(220, 53, 69, 0.20);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(220, 53, 69, 0.12);
    background: radial-gradient(circle at top, rgba(220, 53, 69, 0.10), transparent 55%), linear-gradient(180deg, #fffefe 0%, #fff4f4 100%);
}

.delete-confirm-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 42px;
    margin: 0 auto 14px auto;
    background-image: url("/images/common/delete.svg");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(220, 53, 69, 0.10);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.22);
    border-radius: 8px;
    border: 1px solid rgba(220, 53, 69, 0.35);
}

.title-content-text-center {
    margin: 0 0 8px 0;
    text-align: center;
    font-size: 21px;
    font-weight: 700;
    color: #7a1f28;
}

.delete-confirm-text {
    font-size: 14px;
    line-height: 1.5;
    color: #7b6a6a;
    margin-bottom: 20px;
}

.delete-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.delete-confirm-popup .deletepop-button {
    background: linear-gradient(180deg, #ef6b78 0%, #dc3545 100%) !important;
    border: 1px solid #c92d3d !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(220, 53, 69, 0.22);
}

.delete-confirm-popup .cancel-button {
    background: #fff !important;
    border: 1px solid rgba(220, 53, 69, 0.25) !important;
    color: #8a2d37 !important;
}

/* === PopUpGenerateCode === */

.generate-confirm-popup .dxbl-popup-content {
    padding: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfff8 0%, #f3fde9 100%);
}

.generate-confirm-wrap {
    padding: 24px 22px 20px 22px;
    text-align: center;
    border: 1px solid rgba(151, 245, 101, 0.45);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(151, 245, 101, 0.16);
    background: radial-gradient(circle at top, rgba(151, 245, 101, 0.15), transparent 55%), linear-gradient(180deg, #fcfff9 0%, #f3fde9 100%);
}

.generate-confirm-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px auto;
    background-image: url("/images/common/add_code.svg"); /* uprav podľa reálnej ikonky */
    background-size: 28px 28px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #97f56522;
    box-shadow: 0 6px 18px rgba(151, 245, 101, 0.45);
    border-radius: 14px;
    border: 1px solid #97f565;
}

.generate-confirm-title {
    font-size: 22px;
    font-weight: 700;
    color: #4f7f31;
    margin-bottom: 8px;
}

.generate-confirm-text {
    font-size: 15px;
    line-height: 1.5;
    color: #68785f;
    margin-bottom: 18px;
}

.generate-confirm-form {
    text-align: left;
    margin-bottom: 20px;
}

    .generate-confirm-form .dxfl-caption {
        color: #5c8f3b;
        font-weight: 600;
    }

.generate-confirm-input .dxbl-edit,
.generate-confirm-input input {
    border-radius: 10px !important;
}

.generate-confirm-input .dxbl-edit {
    border: 1px solid rgba(151, 245, 101, 0.45) !important;
    background: #fcfff9 !important;
    box-shadow: 0 4px 10px rgba(151, 245, 101, 0.08);
}

    .generate-confirm-input .dxbl-edit:focus-within,
    .generate-confirm-input input:focus {
        border-color: #97f565 !important;
        box-shadow: 0 0 0 3px rgba(151, 245, 101, 0.16) !important;
    }

.generate-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.generate-confirm-btn {
    min-width: 120px;
    border-radius: 10px !important;
    transition: 0.15s ease;
}

.generate-confirm-btn-primary {
    background: linear-gradient(180deg, #baf78f 0%, #97f565 100%) !important;
    border: 1px solid #82d954 !important;
    color: #355721 !important;
    box-shadow: 0 6px 14px rgba(151, 245, 101, 0.26);
}

    .generate-confirm-btn-primary:hover {
        background: linear-gradient(180deg, #c5faa0 0%, #a5f975 100%) !important;
        border-color: #74ca49 !important;
    }

.generate-confirm-btn-secondary {
    background: #fff !important;
    border: 1px solid rgba(151, 245, 101, 0.35) !important;
    color: #5f8f41 !important;
}

    .generate-confirm-btn-secondary:hover {
        background: #f6ffef !important;
        border-color: #97f565 !important;
    }

/* === PopUpSendEmail === */
.sendmail-confirm-wrap {
    padding: 24px 22px 20px 22px;
    text-align: center;
    border: 1px solid rgba(139, 94, 60, 0.28);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(139, 94, 60, 0.16);
    background: radial-gradient(circle at top, rgba(139, 94, 60, 0.10), transparent 55%), linear-gradient(180deg, #fdf9f6 0%, #f7efe8 100%);
}

.sendmail-confirm-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 42px;
    margin: 0 auto 14px auto;
    background-color: #f8f1eb;
    border: 1px solid #c9a88f;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(139, 94, 60, 0.22);
    position: relative;
    background-image: url("/images/common/send_email.svg");
    background-size: 22px 22px;
    background-repeat: no-repeat;
    background-position: center;
}

.sendmail-confirm-title {
    font-size: 22px;
    font-weight: 700;
    color: #8b5e3c;
    margin-bottom: 8px;
}

.sendmail-confirm-text {
    font-size: 15px;
    line-height: 1.5;
    color: #5f5147;
    margin-bottom: 14px;
}

.sendmail-recipient {
    color: #a06b45;
    font-weight: 600;
}

.sendmail-confirm-info {
    margin-bottom: 18px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8f1eb;
    border: 1px solid #c9a88f;
    color: #8b5e3c;
    font-size: 13px;
    line-height: 1.4;
}

.sendmail-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sendmail-confirm-btn {
    min-width: 120px;
    border-radius: 10px !important;
    transition: 0.15s ease;
}

.sendmail-confirm-btn-primary {
    background: linear-gradient(180deg, #a8744d 0%, #8b5e3c 100%) !important;
    border: 1px solid #744c2f !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(139, 94, 60, 0.24);
}

    .sendmail-confirm-btn-primary:hover {
        background: linear-gradient(180deg, #b37c53 0%, #966645 100%) !important;
        border-color: #5f3d26 !important;
    }

.sendmail-confirm-btn-secondary {
    background: #fdf9f6 !important;
    border: 1px solid #c9a88f !important;
    color: #8b5e3c !important;
}

    .sendmail-confirm-btn-secondary:hover {
        background: #f5ece4 !important;
        border-color: #a8744d !important;
    }

.sendmail-confirm-popup .dxbl-fl-cpt,
.sendmail-confirm-popup .dx-field-item-label-text {
    color: #4e433b;
    font-weight: 600;
}

.sendmail-confirm-popup .generate-confirm-input input,
.sendmail-confirm-popup .generate-confirm-input textarea {
    border-radius: 10px !important;
}

.grid-action-email-disabled {
    opacity: 0.45;
    filter: grayscale(0.15);
}

    .grid-action-email-disabled:hover {
        opacity: 0.65;
    }

/* === ColumnChoosser === */
.column-chooser-wrap {
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-start;
}

.column-chooser-btn {
    border-radius: 12px !important;
    overflow: hidden;
}

    .column-chooser-btn .dxbl-btn,
    .column-chooser-btn.btn,
    .column-chooser-btn {
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
        border: 1px solid #dbe3ee !important;
        color: #334155 !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
        transition: all 0.15s ease;
        padding: 0 !important;
    }

        .column-chooser-btn:hover,
        .column-chooser-btn .dxbl-btn:hover {
            background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%) !important;
            border-color: #cbd5e1 !important;
            transform: translateY(-1px);
        }

.column-chooser-btn-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.column-chooser-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 13px;
}

.column-chooser-text {
    white-space: nowrap;
}

/* === ACCOUNT === */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.look-card {
    padding: 10px 60px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: rgba(255,255,255,0.6);
    position: relative;
    z-index: 2;
}

    .look-card::before,
    .look-card::after {
        content: "";
        position: absolute;
        width: 34px;
        height: 34px;
        border-color: #c6a75a;
        border-style: solid;
        pointer-events: none;
    }

    /* ľavý horný roh */
    .look-card::before {
        top: -6px;
        left: -6px;
        border-width: 4px 0 0 4px;
        border-top-left-radius: 14px;
    }

    /* pravý dolný roh */
    .look-card::after {
        right: -6px;
        bottom: -6px;
        border-width: 0 4px 4px 0;
        border-bottom-right-radius: 14px;
    }

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

.title-default-confirm {
    font-size: 1.46rem;
    font-weight: 900 !important;
    color: #333 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.title-content-text {
    font-size: 1.0rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
    line-height: 1.5;
}

.title-content-text1 {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-style: italic;
    color: #0f5185;
}

.btn-default {
    background-color: #65dff5;
    color: #003b47;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 26px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(101, 223, 245, 0.35);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    margin-bottom: 0.8rem;
    margin-top: 0.8rem;
}

    .btn-default:hover {
        background-color: #9865f5 !important;
        color: white;
        box-shadow: 0 6px 18px rgba(152, 101, 245, 0.45);
        transform: translateY(-2px);
    }

.title-default {
    font-size: 1.48rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.login-title {
    margin-bottom: 5px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1e293b;
    text-align: center;
    text-shadow: 0 2px 10px rgba(15, 76, 129, 0.08);
}

.login-title-brand {
    background: linear-gradient(135deg, #8f141c 0%, #c21e27 45%, #d5343b 70%, #9e1a21 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

@media (max-width: 843px) {
    .login-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .login-title {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .export-confirm-wrap {
        width: 317px;
    }

    .export-confirm-popup {
        width: 320px !important;
    }

    .delete-confirm-popup {
        width: 320px !important;
    }

    .generate-confirm-popup {
        width: 320px !important;
    }

    .sendmail-confirm-popup {
        width: 340px !important;
    }

    .event-create-popup {
        width: 320px !important;
    }
}

/* === INVITATIONQRDETAIL === */

.qr-detail-card {
    border: 1px solid rgba(18, 56, 95, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 45, 80, 0.08);
    overflow: hidden;
}

.qr-detail-header {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    border-bottom: 1px solid rgba(18, 56, 95, 0.08);
}

.qr-detail-title {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(135deg, #8c6a11 0%, #d4af37 35%, #f3e6ab 50%, #c9971a 70%, #6f5310 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.qr-detail-form {
    padding: 1rem 1.25rem 0 1.25rem;
}

.detail-value {
    color: #334155;
    font-size: 1rem;
    margin-top: 4px;
}

.country-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.country-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.country-divider {
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.detail-date {
    color: #7c8ca0;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.qr-box {
    padding: 1rem 1.25rem 0.75rem 1.25rem;
}

.qr-inner {
    background: #ffffff;
    border: 1px solid rgba(18, 56, 95, 0.08);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.qr-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
}

.qr-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.qr-detail-form {
    padding: 1rem 1.25rem 0 4.25rem;
}

.title-default-form {
    font-size: 1rem;
    font-weight: 900;
    color: #333;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.detail-code-black {
    color: #8a99af;
    -webkit-text-fill-color: #8a99af;
    font-weight: 700;
}

@media (max-width: 768px) {
    .qr-detail-title {
        font-size: 1.55rem;
    }

    .qr-actions-grid {
        grid-template-columns: 1fr;
    }

    .detail-row-split {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* === INVITATIONGRID === */

.invitation-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 90px;
    padding: 0.42rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.invitation-status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 auto;
}

.invitation-status-pending {
    color: #4b5563;
    background: linear-gradient(180deg, #f9fafb 0%, #eef2f7 100%);
    border-color: #6b7280;
}

.invitation-status-confirmed {
    color: #166534;
    background: linear-gradient(180deg, #ecfdf3 0%, #dff7e8 100%);
    border-color: #15803d;
}

.invitation-status-rejected {
    color: #991b1b;
    background: linear-gradient(180deg, #fff1f2 0%, #fee2e2 100%);
    border-color: #dc2626;
}

.country-flag-img {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    background: #fff;
}

    .country-flag-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.invitation-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.invitation-type-icon {
    font-size: 12px;
    line-height: 1;
}

.invitation-type-paper {
    background-color: #faf5ff;
    color: #7c3aed;
    border: 1px solid #d8b4fe;
}

.invitation-type-email {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.email-group-header {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #a16207;
    padding: 6px 10px;
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
}

.dxbl-list-box-render-container > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li:not(.dxbl-list-box-empty-list-item):not([dxbl-bottom-virtual-spacer-element]):not([dxbl-top-virtual-spacer-element]).dxbl-list-box-group-item, .dxbl-list-box > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li:not(.dxbl-list-box-empty-list-item):not([dxbl-bottom-virtual-spacer-element]):not([dxbl-top-virtual-spacer-element]).dxbl-list-box-group-item {
    padding: 0;
}

/* === INDEX === */
.event-toolbar-card {
    padding: 1rem 1.25rem;
}

.event-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-toolbar-left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1 1 320px;
}

.event-toolbar-label {
    font-size: 1.3rem;
    font-weight: 900;
    color: #876a26;
}

.event-combobox {
    width: 100%;
    max-width: 420px;
}

.event-toolbar-right {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.create-event-btn {
    width: 100px;
    margin-left: 10px !important;
    border-radius: 40px;
}

.create-event-btn-pop {
    min-width: 100px;
    border-radius: 40px;
}

.popup-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}

.event-combo-item {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    padding: 2px 0;
}

.event-combo-name {
    font-weight: 600;
    color: #876a26;
}

.event-combo-description {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 2px;
}

.grid-row-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.empty-grid-placeholder {
    padding: 2rem;
    text-align: center;
    color: #876a26;
    font-weight: 900;
}

.grid-height-invitation {
    cursor: pointer;
}


@media (max-width: 4600px) {
    .grid-height-invitation {
        max-height: 66vh !important;
    }
}

@media (max-width: 2560px) {
    .grid-height-invitation {
        max-height: 70vh !important;
    }
}

@media (max-width: 1920px) {
    .grid-height-invitation {
        max-height: 65vh !important;
    }
}

@media (max-width: 1440px) {
    .grid-height-invitation {
        max-height: 78vh !important;
    }

    .qr-detail-form {
        padding: 1rem 1.25rem 0 1.25rem;
    }
}

@media (max-width: 1366px) {
    .grid-height-invitation {
        max-height: 91vh !important;
    }

    .qr-detail-form {
        padding: 1rem 1.25rem 0 1.25rem;
    }
}

/* === INVALIDRESPONSE === */

.invitation-page {
    min-height: 100dvh;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background: radial-gradient(circle at top, rgba(255, 244, 210, 0.45), transparent 35%), linear-gradient(180deg, #6f4e37 0%, #8b6b4a 35%, #5a3f2b 100%);
}

.parchment-card {
    position: relative;
    width: min(100%, 860px);
    border-radius: 1.5rem;
    margin: 0 auto;
    padding: 1.25rem;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255,250,235,0.98) 0%, rgba(245,232,196,0.98) 100%);
    box-shadow: 0 30px 80px rgba(0,0,0,0.28), inset 0 0 50px rgba(140, 106, 17, 0.08);
    border: 1px solid rgba(111, 83, 16, 0.35);
    overflow: hidden;
}

    .parchment-card::before {
        content: "";
        position: absolute;
        inset: 10px;
        border: 1px solid rgba(140, 106, 17, 0.18);
        border-radius: 1.2rem;
        pointer-events: none;
    }

.parchment-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1.5rem;
}

.parchment-corner {
    position: absolute;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(140, 106, 17, 0.38);
    z-index: 1;
}

.corner-top-left {
    top: 16px;
    left: 16px;
    border-right: 0;
    border-bottom: 0;
    border-top-left-radius: 12px;
}

.corner-top-right {
    top: 16px;
    right: 16px;
    border-left: 0;
    border-bottom: 0;
    border-top-right-radius: 12px;
}

.corner-bottom-left {
    bottom: 16px;
    left: 16px;
    border-right: 0;
    border-top: 0;
    border-bottom-left-radius: 12px;
}

.corner-bottom-right {
    bottom: 16px;
    right: 16px;
    border-left: 0;
    border-top: 0;
    border-bottom-right-radius: 12px;
}

.invite-ornament {
    font-size: 1rem;
    color: #8c6a11;
    letter-spacing: 0.4rem;
    margin-bottom: 1rem;
}

.invite-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    font-family: Georgia, "Times New Roman", serif;
    color: #6f5310;
}

.invite-subtitle {
    font-size: 1.05rem;
    color: #7b6340;
    margin-bottom: 0.2rem;
    font-style: italic;
}

.invite-subtitle-description {
    font-size: 1.05rem;
    color: #7b6340;
    margin-bottom: 2rem;
    font-style: italic;
}

.invite-event-name {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 700;
    color: #8c6a11;
    margin-bottom: 0.8rem;
    font-family: Georgia, "Times New Roman", serif;
}

.invite-text {
    color: #6b5537;
    font-size: 1.08rem;
    margin-bottom: 0.65rem;
}

.invite-text-main {
    max-width: 620px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.8;
}

.invite-guest-name {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #3c2c1c;
    font-family: Georgia, "Times New Roman", serif;
}

.invite-meta {
    margin: 1.5rem auto 2rem auto;
    display: grid;
    gap: 0.45rem;
    color: #5d4931;
    font-size: 1rem;
}

.invite-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.invite-btn {
    min-width: 180px;
    border-radius: 999px;
    font-weight: 700;
}

.invite-status-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    color: #5d4931;
    margin-bottom: 1.5rem;
}

.invite-footer {
    margin-top: 1rem;
    color: #7b6340;
    font-style: italic;
    font-size: 1rem;
}

.invitation-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 110px;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.invitation-status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 auto;
}

.invitation-status-pending {
    color: #4b5563;
    background: linear-gradient(180deg, #f9fafb 0%, #eef2f7 100%);
    border-color: #9ca3af;
}

.invitation-status-confirmed {
    color: #166534;
    background: linear-gradient(180deg, #ecfdf3 0%, #dff7e8 100%);
    border-color: #15803d;
}

.invitation-status-rejected {
    color: #991b1b;
    background: linear-gradient(180deg, #fff1f2 0%, #fee2e2 100%);
    border-color: #dc2626;
}

.invite-meta-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
}

.invite-btn-accept,
.invite-btn-decline {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.invite-btn-accept {
    background: linear-gradient(180deg, #4caf50 0%, #2f8f3d 100%) !important;
    border: 1px solid #2c7a36 !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 10px rgba(44, 122, 54, 0.18);
}

    .invite-btn-accept:hover {
        background: linear-gradient(180deg, #3fd765 0%, #239f49 100%) !important;
        border-color: #146f31 !important;
        transform: translateY(-2px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 8px 18px rgba(34, 197, 94, 0.24);
    }

    .invite-btn-accept:active {
        transform: translateY(1px); /* bez scale */
        box-shadow: inset 0 2px 6px rgba(0,0,0,0.12), 0 3px 8px rgba(34, 197, 94, 0.18);
    }

.invite-btn-decline {
    background: linear-gradient(180deg, #f2f2f2 0%, #dfdfdf 100%) !important;
    border: 1px solid #b9c1c8 !important;
    color: #3f4f63 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 3px 8px rgba(80, 80, 80, 0.08);
}

    .invite-btn-decline:hover {
        background: linear-gradient(180deg, #f7f7f7 0%, #e6e6e6 100%) !important;
        border-color: #9ea8b1 !important;
        color: #334155 !important;
        transform: translateY(-2px); /* bez scale */
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 8px 16px rgba(15, 23, 42, 0.08);
    }

    .invite-btn-decline:active {
        transform: translateY(1px); /* bez scale */
        box-shadow: inset 0 2px 6px rgba(0,0,0,0.08), 0 2px 6px rgba(15, 23, 42, 0.06);
    }

@media (max-width: 1366px) {
    .parchment-card {
        padding: 0.6rem;
    }

    .invite-guest-name {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .invite-subtitle-description {
        margin-bottom: 1rem;
    }
}

@media (max-width: 950px) and (orientation: landscape) {
    .invitation-page {
        align-items: flex-start;
        padding: 0.5rem;
    }

    .parchment-card {
        width: min(100%, 100%);
        padding: 0.75rem;
    }

    .parchment-content {
        padding: 0.75rem 0.5rem;
    }

    .invite-title {
        font-size: 1.5rem;
    }

    .invite-event-name {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .invite-guest-name {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .invite-text,
    .invite-subtitle,
    .invite-footer,
    .invite-meta {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .invitation-page {
        padding: 0.75rem;
    }

    .parchment-card {
        padding: 0.75rem;
        border-radius: 1rem;
    }

    .parchment-content {
        padding: 1rem 0.5rem;
    }

    .invite-title {
        font-size: 1.7rem;
    }

    .invite-event-name {
        font-size: 1.45rem;
    }

    .invite-guest-name {
        font-size: 1.55rem;
    }

    .invite-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .invite-btn {
        width: 100%;
        min-width: 0;
    }

    .invitation-header-wrap {
        align-items: flex-start;
    }

    .invitation-type-pill {
        padding: 7px 12px;
        font-size: 13px;
    }

    .invitation-type-pill-value {
        min-width: 24px;
        height: 24px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    html, body {
        overflow-y: auto;
    }

    .invitation-page {
        height: 100dvh;
    }
}
