    .modal-header-icons {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 15%;
        padding: 1% 2.5% 0 2.5%;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10;
        background: rgba(255, 255, 255, 0.95);
        border-top-right-radius: 2%;
        min-width: 0;
        width: auto;
        box-sizing: border-box;
    }


    .modal-header-icons span,
    .modal-header-icons .close-modal {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* min-width: 6%;
        min-height: 6%;
        width: 6%;
        height: 6%; */
        font-size: 2vw;
        /* font-weight: bold; */
        cursor: pointer;
        /* background: #fff; */
        /* border-radius: 50%;
        box-shadow: 0 0.2em 0.6em rgba(0, 0, 0, 0.12); */
        transition: background 0.2s, color 0.2s;
        color: #333;
        border: none;
        z-index: 10;
    }

    /* .modal-header-icons span:hover,
    .modal-header-icons .close-modal:hover {
        background: #f8d7da;
        color: #d9534f;
    } */

    .modal-header-icons span:active,
    .modal-header-icons span:focus,
    .modal-header-icons .close-modal:active,
    .modal-header-icons .close-modal:focus {
        background: #f0f0f0;
        outline: none;
    }

    .modal-header-icons svg {
        width: 90%;
        display: block;
    }

    @media (max-width: 576px) {
        .modal-header-icons {
            gap: 10px;
            padding: 8px 6px 0 6px;
        }

        .modal-header-icons span,
        .modal-header-icons .close-modal {
            /* min-width: 28px;
            min-height: 28px;
            width: 28px;
            height: 28px;
            font-size: 1.5rem; */
        }

        .modal-header-icons svg {
            /* width: 18px;
            height: 18px; */
        }
    }

    body {
        overflow: hidden;
    }

    .container-fluid {
        /* width: 50% !important;
        max-width: 100%; */
    }

    .form-scroll-area {
        max-height: 77vh !important;
        height: 100% !important;
        overflow-y: auto;
        scroll-behavior: smooth;
        scrollbar-width: thin;
        margin: 0.5% !important;
        padding: 1.7% !important;
    }

    .form-scroll-area::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .form-scroll-area::-webkit-scrollbar-thumb {
        background-color: #aaa;
        border-radius: 3px;
    }

    .form-scroll-area::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }

    .form-control,
    .form-select,
    #browseButton {
        background-color: #fff;
        /* border-radius: 5%;
        padding: 1% 2%; */
        border: 1px solid #ccc;
        font-family: 'Nunito', sans-serif;
        /* font-size: 1.1vw; */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .ui-datepicker,
    .ui-timepicker-div {
        background: #fff;
        border-radius: 0.375rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        font-family: 'Nunito', sans-serif;
        font-size: 16px;
    }

    .ui-datepicker select.ui-datepicker-month,
    .ui-datepicker select.ui-datepicker-year,
    .ui-timepicker-div select {
        font-family: 'Nunito', sans-serif;
        font-size: 16px;
    }

    textarea.form-control {
        resize: none;
        min-height: 5vh;
        height: 5vh;
        line-height: 1.5;
        overflow-y: auto;
    }

    .template-preview,
    .image-preview {
        display: none;
        /* margin-top: 20px;
        margin-bottom: 20px; */
        text-align: center;
    }

    .template-preview.active,
    .image-preview.active {
        display: block;
    }

    .template-container {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 10px;
    }

    .template-card {
        width: 18vw;
        height: 24vw;
        border: 0.2vw solid #d4af37;
        border-radius: 1vw;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.2s, border-color 0.2s;
        position: relative;
    }

    .template-card.selected {
        border-color: #007bff;
        transform: scale(1.05);
    }

    .poster-preview {
        background: linear-gradient(180deg, #1e1e1e 0%, #121212 100%);
        border: 0.2vw solid #d4af37;
        border-radius: 1vw;
        width: 100%;
        height: 100%;
        text-align: center;
        color: #f8f9fa;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2%;
        box-sizing: border-box;
        position: relative;
    }

    .poster-preview.bg-only {
        background-size: cover;
        background-position: center;
    }

    .floral-border-top,
    .floral-border-bottom {
        position: absolute;
        left: 0;
        right: 0;
        height: 10%;
        max-height: 20px;
        background: url('{{ asset("images/floral-border-gold.png") }}') no-repeat center;
        background-size: cover;
        opacity: 0.85;
        z-index: 1;
    }

    .floral-border-top {
        top: 0;
    }

    .floral-border-bottom {
        bottom: 0;
    }

    /* .poster-img {
        width: 22%;
        max-width: 40px;
        aspect-ratio: 3/4;
        object-fit: cover;
        border-radius: 4px;
        border: 2px solid #d4af37;
        margin: 5px auto;
    } */

    @media (max-width: 576px) {
        .container-fluid {
            /* width: 100% !important; */
        }

        .form-control,
        .form-select,
        #browseButton {
            font-size: 14px;
            min-width: 0;
            max-width: 100%;
        }

        .floating-label,
        .floating-label-1 {
            font-size: 14px;
            max-width: 85vw;
        }

        .floating-label:not(.floating),
        .floating-label-1:not(.floating) {
            top: 50%;
            transform: translateY(-50%);
        }

        .floating-label.floating,
        .floating-label-1.floating {
            top: -3px;
            font-size: 12px;
        }

        .template-container {
            flex-direction: column;
            gap: 10px;
        }

        .template-card {
            width: 150px;
            height: 200px;
        }

        /* .poster-img {
            max-width: 30px;
        } */

        .code-country {
            padding: 8px;
        }
    }

    @media (min-width: 576px) and (max-width: 768px) {
        .container-fluid {
            /* width: 100% !important; */
        }

        .template-card {
            width: 150px;
            height: 200px;
        }

        /* .poster-img {
            max-width: 35px;
        } */
    }

    .card-header {
        border-bottom: 0.5px solid #d2d2d2;
    }

    .form-group {
        position: relative;
        margin-bottom: 0.6em;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .floating-label,
    .floating-label-1 {
        position: absolute;
        pointer-events: auto;
        left: 10px;
        top: 45%;
        transform: translateY(-50%);
        font-size: 15px;
        transition: 0.3s ease all;
        color: #495057;
        background-color: #fff;
        /* padding: 0 5px; */
        z-index: 1;
        font-family: 'Nunito', sans-serif;
        max-width: 90%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
        font-weight: unset;
    }

    .form-control:focus,
    .form-select:focus {
        outline: none;
        border-color: #007bff;
    }

    .form-control:focus+.floating-label,
    .form-control:not(:placeholder-shown)+.floating-label,
    textarea.form-control:not(:empty)+.floating-label {
        top: -8px;
        left: 10px;
        font-size: 12px;
        color: #007bff;
        transform: none;
    }

    select:focus+.floating-label-1,
    select:not([value=""]:not(:invalid))+.floating-label-1 {
        top: -3px;
        left: 12px;
        font-size: 12px;
        color: #007bff;
        transform: none;
    }

    .form-control::placeholder {
        color: transparent;
    }

    .form-select {
        appearance: none;
        padding-right: 2rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.5rem center;
        background-size: 1.5em;
    }

    .red-one {
        color: red;
    }

    .error {
        height: 0;
        transition: height 0.3s ease;
    }

    .error.has-error {
        height: 20px;
    }

    .error-message {
        color: red;
        font-size: 12px;
        font-family: 'Nunito', sans-serif;
        display: none;
        position: static;
        left: 10px;
        top: 70%;
        white-space: normal;
        float: inline-start;
    }

    .error-message.show {
        display: block;
        margin: 2px;
    }

    .photo-upload-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: relative;
    }

    #browseButton {
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 0.5rem 1rem;
        background-color: #fff;
        cursor: pointer;
        text-align: left;
    }

    #browseButton:focus,
    #browseButton.file-filled {
        border-color: #007bff;
    }

    #browseButton:focus+.floating-label,
    #browseButton.file-filled+.floating-label {
        top: -3px;
        left: 10px;
        font-size: 12px;
        color: #007bff;
        transform: none;
    }

    #browseButton:hover {
        background-color: #f8f9fa;
    }


    .modal {
        display: none;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 2000;
        transition: opacity 0.3s;
    }

    .modal.show {
        display: flex;
        opacity: 1;
    }

    .modal-content {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
        padding: 0;
        position: relative;
        max-width: 100vw;
        width: 100vw;
        max-height: 98vh;
        overflow-y: auto;
        animation: modalFadeIn 0.3s;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* .modal-content .close-modal { removed, handled by shared icon style above } */
    /* .modal-content .poster-full { */
    /* width: 100%;
        max-width: 700px;
        margin: 0 auto;
        display: block;
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12); */
    /* } */

    @media (max-width: 900px) {
        .modal-content .poster-full {
            max-width: 98vw;
        }
    }

    @media (max-width: 576px) {
        .modal-content {
            max-width: 100vw;
            width: 100vw;
            padding: 0;
        }

        .modal-content .poster-full {
            max-width: 100vw;
            border-radius: 8px;
        }

        /* .close-modal { removed, handled by shared icon style above } */
    }

    @keyframes modalFadeIn {
        from {
            transform: scale(0.95);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    /* .close-modal { removed, handled by shared icon style above } */

    @media (max-width: 576px) {
        .modal-content {
            max-width: 98vw;
            width: 80% !important;
            padding: 16px 6px 12px 6px;
        }

        /* .close-modal { removed, handled by shared icon style above } */
    }

    .template-slider-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
        width: 100%;
        position: relative;
    }

    .template-slider-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .template-slider {
        display: flex;
        gap: 20px;
        transition: transform 0.3s ease;
        width: max-content;
        padding: 10px 0;
    }

    .slider-arrow {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #333;
        padding: 10px;
        border-radius: 50%;
        transition: all 0.3s;
        flex-shrink: 0;
        z-index: 2;
    }

    .slider-arrow:hover {
        background-color: #007bff;
    }

    .template-card {
        width: 150px;
        height: 200px;
        border: 2px solid #d4af37;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.2s, border-color 0.2s;
        position: relative;
        flex-shrink: 0;
    }

    .template-card.selected {
        border-color: #007bff;
        transform: scale(1.05);
    }

    @media (max-width: 768px) {
        .template-card {
            width: 150px;
            height: 200px;
        }

        .slider-arrow {
            position: absolute;
            background-color: rgba(255, 255, 255, 0.7);
        }

        #prevTemplate {
            left: 10px;
        }

        #nextTemplate {
            right: 10px;
        }
    }

    .modal-content {
        width: 45%;
    }

    .arrange-buttons {
        justify-content: center;
    }

    @media (min-width: 576px) and (max-width: 900px) {
        .modal-content {
            width: 75%;
        }
        .form-control,
        .form-select,
        #browseButton {
            font-size: 15px;
            min-width: 0;
            max-width: 100%;
        }

        .floating-label,
        .floating-label-1 {
            font-size: 15px;
            max-width: 90vw;
        }
    }

    .card-title {
        font-size: 1.4em;
        font-weight: 600;
        color: #505050;
        margin: 1%;
        text-align: center;
    }

    @media (max-width: 576px) {
        .form-scroll-area::-webkit-scrollbar {
            width: 4px;
            /* Vertical scrollbar width */
            height: 2px;
            /* Horizontal scrollbar height */
        }

        .form-scroll-area::-webkit-scrollbar-thumb {
            background-color: #999;
            border-radius: 2px;
        }

        .form-scroll-area::-webkit-scrollbar-track {
            background-color: transparent;
        }

        /* For Firefox */
        .form-scroll-area {
            overflow-x: hidden;
            /* scrollbar-width: thin;
            scrollbar-color: #999 transparent;
            max-height: 70vh;
            padding: 12px !important; */
            /* max-height: 600px;
            height: 500px; */
        }
    }

    option {
        /* border: 2px solid #ddd;
        background: #eee;
        padding: 10px; */
        background: #f8f9fa;
    }

    .modal {
        height: 100%;
    }

    #suggestions,
    #tributeMessageSuggestions {
        position: absolute;
        background: #fff;
        border: 1px solid #ccc;
        max-height: 150px;
        overflow-y: auto;
        width: 100%;
        z-index: 1000;
        display: none;
        top: 100%;
        left: 0;
    }

    .suggestion-item {
        padding: 10px;
        cursor: pointer;
    }

    .suggestion-item:hover {
        background: #f0f0f0;
    }

    .photo-upload-container {
        border: 0.2vw dashed #ccc;
        padding: 2vw;
        text-align: center;
        /* cursor: pointer; */
        border-radius: 1vw;
        background: #f9f9f9;
        transition: all 0.3s ease;
        position: relative;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .photo-upload-container.dragover {
        border-color: #007bff;
        background: #eaf4ff;
        transform: scale(1.02);
    }

    /* .photo-upload-container.file-filled {
        border-color: #28a745;
        background: #e6ffed;
    } */

    .upload-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 100px;
        width: 100%;
    }

    .upload-area i.fas.fa-cloud-upload-alt {
        font-size: 2rem;
        color: #007bff;
        transition: color 0.3s ease;
    }

    .photo-upload-container.dragover .upload-area i.fas.fa-cloud-upload-alt {
        color: #0056b3;
    }

    .upload-area p {
        margin: 0;
        font-size: 1rem;
        color: #333;
        font-family: 'Nunito', sans-serif;
    }

    .upload-area .browse-link {
        color: #6d767d;
        /* text-decoration: underline; */
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .upload-area .browse-link:hover {
        color: #6d767d;
    }

    .upload-area .upload-instruction {
        font-size: 0.85rem;
        color: #666;
    }

    select.form-select option {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    select.form-select option {
        white-space: normal;
        /* allow multi-line */
        word-wrap: break-word;
    }

    select.form-select {
        max-width: 100%;
        width: 100%;
        overflow-wrap: break-word;
    }

    @media screen and (max-width: 1440px) and (min-width: 1020px) {
        /* .form-scroll-area {
            max-height: 70vh;
            overflow-y: auto;
        } */

    }

    @media screen and (max-width: 1024px) and (min-width: 769px) {
        .container-fluid {
            /* width: 75% !important; */
        }
    }

    @media (min-width:768px) {
        .col-md-2 {
            flex: 0 0 auto;
            width: 20% !important;
        }

        .btn {
            font-size: 10px;
        }
    }

    /* select.form-select:focus {
        background: #fff;
        border-color: #007bff;
    }
    option {
        border: 2px solid #ddd;
        background: #eee;
        padding: 10px;
        background: #f8f9fa;
    } */


    .select2-container--default .select2-selection--single .select2-selection__arrow {
        top: 6px !important;
    }