        .hidden {
            display: none;
        }
        .message-block {
            margin-top: 20px;
            opacity: 0; /* Ð˜Ð·Ð½Ð°Ñ‡Ð°Ð»ÑŒÐ½Ð¾ ÑÐºÑ€Ñ‹Ñ‚ */
            transition: opacity 0.5s ease; /* ÐŸÐ»Ð°Ð²Ð½Ð¾Ðµ Ð¿Ð¾ÑÐ²Ð»ÐµÐ½Ð¸Ðµ */
        }
	.message-block-text {
            font-family: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
            font-size: 15px;
            font-weight: 600;
 	    text-align: center;
        }
        .button-container {
            display: none; /* Ð˜Ð·Ð½Ð°Ñ‡Ð°Ð»ÑŒÐ½Ð¾ ÑÐºÑ€Ñ‹Ñ‚ */
            opacity: 0; /* Ð˜Ð·Ð½Ð°Ñ‡Ð°Ð»ÑŒÐ½Ð¾ ÑÐºÑ€Ñ‹Ñ‚ */
            transition: opacity 0.5s ease, transform 0.5s ease; /* ÐŸÐ»Ð°Ð²Ð½Ð¾Ðµ Ð¿Ð¾ÑÐ²Ð»ÐµÐ½Ð¸Ðµ */
            transform: translateY(-20px); /* Ð¡Ð´Ð²Ð¸Ð½ÑƒÑ‚ Ð²Ð²ÐµÑ€Ñ… */
        }
        .button-container.show {
            justify-content: center;
            align-items: center;
            width: 100%;
             /* ÐŸÐ¾ÐºÐ°Ð·Ñ‹Ð²Ð°ÐµÐ¼ Ð±Ð»Ð¾Ðº */
            opacity: 1; /* Ð”ÐµÐ»Ð°ÐµÐ¼ Ð²Ð¸Ð´Ð¸Ð¼Ñ‹Ð¼ */
            transform: translateY(0); /* Ð’Ð¾Ð·Ð²Ñ€Ð°Ñ‰Ð°ÐµÐ¼ Ð² Ð¸ÑÑ…Ð¾Ð´Ð½Ð¾Ðµ Ð¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ðµ */
            display: inline-flex;
            gap: 20px;
        }
        .button {
            box-sizing: border-box;
            border: 1px solid #e3e3e3;
            vertical-align: middle;
            font-weight: 500;
            gap: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%; /* Ð—Ð°Ð´Ð°ÐµÐ¼ ÑˆÐ¸Ñ€Ð¸Ð½Ñƒ 100% */
            padding: 10px;
            background-color: #efefef;
            color: #3f3f3f;
            text-decoration: none;
            border-radius: 5px;
            cursor: pointer;
            display: inline-flex; /* Ð˜ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÐµÐ¼ flex Ð´Ð»Ñ Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ñ */
            /* align-items: center; */ /* Ð¦ÐµÐ½Ñ‚Ñ€Ð¸Ñ€ÑƒÐµÐ¼ Ð¿Ð¾ Ð²ÐµÑ€Ñ‚Ð¸ÐºÐ°Ð»Ð¸ */
            margin: 10px 0; /* ÐžÑ‚ÑÑ‚ÑƒÐ¿ ÑÐ²ÐµÑ€Ñ…Ñƒ Ð¸ ÑÐ½Ð¸Ð·Ñƒ */
            transition: background-color 0.3s, transform 0.3s;
        }
        .button:hover {
            background-color: #f1faec;
            border: 1px solid #cee9bd;
        }
        .button.selected {
            background-color: #f1faec;
            border: 1px solid #cee9bd;
        }
        .no-messenger-button:hover {
            background-color: #575757;
        }
        .no-messenger-button.selected {
            background-color: #575757; /* Ð¦Ð²ÐµÑ‚ Ð¿Ð¾ÑÐ»Ðµ Ð½Ð°Ð¶Ð°Ñ‚Ð¸Ñ */
            /*transform: translateY(-5px); /* Ð¡Ð´Ð²Ð¸Ð³ ÐºÐ½Ð¾Ð¿ÐºÐ¸ */
        }
        .svg-icon {
            width: 25px; /* Ð£Ð¼ÐµÐ½ÑŒÑˆÐ°ÐµÐ¼ Ñ€Ð°Ð·Ð¼ÐµÑ€ SVG */
            height: 25px; /* Ð£Ð¼ÐµÐ½ÑŒÑˆÐ°ÐµÐ¼ Ñ€Ð°Ð·Ð¼ÐµÑ€ SVG */
            margin-right: 8px; /* ÐžÑ‚ÑÑ‚ÑƒÐ¿ Ð¼ÐµÐ¶Ð´Ñƒ SVG Ð¸ Ñ‚ÐµÐºÑÑ‚Ð¾Ð¼ */
        }
        .no-messenger-button {
            display: none; /* Ð˜Ð·Ð½Ð°Ñ‡Ð°Ð»ÑŒÐ½Ð¾ ÑÐºÑ€Ñ‹Ñ‚Ð° */
            margin: 10px 0 20px;
            padding: 10px;
            background-color: #d5d5d5; /* ÐšÑ€Ð°ÑÐ½Ñ‹Ð¹ Ñ†Ð²ÐµÑ‚ */
            border: none;
            color: white;
            border-radius: 5px;
            cursor: pointer;
            width: 100%; /* Ð—Ð°Ð´Ð°ÐµÐ¼ ÑˆÐ¸Ñ€Ð¸Ð½Ñƒ 100% */
        }
        .no-messenger-button.show {
            display: inline-block; /* ÐŸÐ¾ÐºÐ°Ð·Ð°Ñ‚ÑŒ ÐºÐ½Ð¾Ð¿ÐºÑƒ */
        }
        
        .no-messenger-button.connected {
            background-color: #f1faec !important;
            border: 1px solid #c1e3ad !important;
            color: #2e7d32 !important;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        /* âœ… Ð¡Ñ‚Ð¸Ð»Ð¸ Ð´Ð»Ñ Ð¿Ð¾Ð´ÐºÐ»ÑŽÑ‡ÐµÐ½Ð½Ð¾Ð³Ð¾ Ð¼ÐµÑÑÐµÐ½Ð´Ð¶ÐµÑ€Ð° */
        .button.connected {
            background-color: #f1faec !important;
            border: 1px solid #c1e3ad !important;
            color: #2e7d32 !important;
            font-weight: 600;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .button.connected::before {
            content: "âœ“";
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: #4caf50;
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 14px;
            font-weight: bold;
        }
        
        .button.connected .svg-icon {
            margin-left: 15px;
        }
        

        
        @keyframes pulse {
            0%, 100% {
                opacity: 0.3;
            }
            50% {
                opacity: 0.6;
            }
        }
        


        .btn-accepted {
            background-image: url(/images/cards/accepted.svg);
            position: absolute;
            top: 50%;
            left: 15px;
            transform: translateY(-50%);
            /* background: #4caf50; */
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            /* align-items: center; */
            font-size: 18px;
            font-weight: bold;
            /* box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4); */
            /* animation: checkmarkAppear 0.5s ease-out; */
        }

        
        @keyframes checkmarkAppear {
            0% {
                transform: translateY(-50%) scale(0) rotate(-180deg);
                opacity: 0;
            }
            60% {
                transform: translateY(-50%) scale(1.2) rotate(10deg);
            }
            100% {
                transform: translateY(-50%) scale(1) rotate(0deg);
                opacity: 1;
            }
        }
                

        
        .messenger-status.show {
            display: block;
        }
        
        .messenger-status-icon {
            color: #4caf50;
            font-size: 18px;
            margin-right: 8px;
        }
        

        
        .user-data-block.show {
            display: block;
        }
        
        .user-data-row {
            margin: 5px 0;
        }
        
        .user-data-label {
            font-weight: 600;
            color: #333;
        }
        
        /* âœ… Ð Ð°ÑÑˆÐ¸Ñ€ÑÐµÐ¼ Ð¼Ð¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ðµ Ð¾ÐºÐ½Ð¾ Ð´Ð»Ñ ÐºÐ¾Ð¼Ñ„Ð¾Ñ€Ñ‚Ð½Ð¾Ð³Ð¾ Ñ€Ð°Ð·Ð¼ÐµÑ‰ÐµÐ½Ð¸Ñ Ð±Ð»Ð¾ÐºÐ¾Ð² */
        .modal-box {
            max-width: 900px !important;
            width: 95% !important;
        }
        
        .modal-box-content {
            padding: 20px 30px !important;
            overflow-y: auto;
            overflow-x: hidden;
            max-height: 90vh;
        }
        
        /* âœ… ÐšÑƒÑ€ÑÐ¾Ñ€-ÑƒÐºÐ°Ð·Ð°Ñ‚ÐµÐ»ÑŒ Ð´Ð»Ñ overlay Ð¼Ð¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ð³Ð¾ Ð¾ÐºÐ½Ð° */
        #modal {
            cursor: pointer;
        }
        
        .modal-box {
            cursor: default;
        }
        
        /* âœ… Ð’Ð¾Ð·Ð²Ñ€Ð°Ñ‰Ð°ÐµÐ¼ Ð·ÐµÐ»ÐµÐ½ÑƒÑŽ Ð³Ð°Ð»Ð¾Ñ‡ÐºÑƒ Ð¸ Ñ†ÐµÐ½Ñ‚Ñ€Ð¸Ñ€ÑƒÐµÐ¼ Ð²ÐµÑÑŒ Ð±Ð»Ð¾Ðº */
        .modal-info .check-wrap {
            display: block !important;
            margin: 0 auto !important;
            width: 150px !important;
            position: relative !important;
            text-align: center !important;
        }
        
        /* âœ… Ð¦ÐµÐ½Ñ‚Ñ€Ð¸Ñ€ÑƒÐµÐ¼ stars (animate-bounce) Ð¾Ñ‚Ð½Ð¾ÑÐ¸Ñ‚ÐµÐ»ÑŒÐ½Ð¾ check-wrap */
        .modal-info .stars-wrap {
            position: absolute !important;
            top: -20px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
        }
        
        /* âœ… Ð¦ÐµÐ½Ñ‚Ñ€Ð¸Ñ€ÑƒÐµÐ¼ ÑÐ°Ð¼Ñƒ Ð³Ð°Ð»Ð¾Ñ‡ÐºÑƒ SVG */
        .modal-info .check-wrap svg.check.m-a {
            display: block !important;
            margin: 0 auto !important;
        }
        
        /* âœ… ÐžÐ±ÐµÑÐ¿ÐµÑ‡Ð¸Ð²Ð°ÐµÐ¼ Ð²ÐµÑ€Ñ‚Ð¸ÐºÐ°Ð»ÑŒÐ½Ð¾Ðµ Ñ€Ð°ÑÐ¿Ð¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ðµ Ð²ÑÐµÑ… ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚Ð¾Ð² Ð² Ð¼Ð¾Ð´Ð°Ð»Ðµ */
        .modal-info {
            display: flex !important;
            flex-direction: column !important;
            width: 100%;
        }
        
        .modal-info > * {
            width: 100% !important;
            display: block !important;
        }
        
        /* âœ… Ð¡ÐºÑ€Ñ‹Ð²Ð°ÐµÐ¼ Ð¾Ñ€Ð¸Ð³Ð¸Ð½Ð°Ð»ÑŒÐ½Ñ‹Ð¹ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº Ð¸ Ñ‚ÐµÐºÑÑ‚ (Ð¾ÑÑ‚Ð°Ð²Ð»ÑÐµÐ¼ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð½Ð°ÑˆÐ¸ ÑÑ‚Ð¸Ð»Ð¸Ð·Ð¾Ð²Ð°Ð½Ð½Ñ‹Ðµ Ð±Ð»Ð¾ÐºÐ¸) */
        .modal-info .modal-title:not(.modal-custom-title) {
            display: none !important;
        }
        
        /* Ð¡ÐºÑ€Ñ‹Ð²Ð°ÐµÐ¼ Ð¾Ñ€Ð¸Ð³Ð¸Ð½Ð°Ð»ÑŒÐ½Ñ‹Ð¹ Ñ‚ÐµÐºÑÑ‚ Ñ ÑÑƒÐ¼Ð¼Ð¾Ð¹, ÑÑ€Ð¾ÐºÐ¾Ð¼, ÑÑ‚Ð°Ð²ÐºÐ¾Ð¹ */
        .modal-info > div:not(.check-wrap):not(.modal-custom-title):not(.modal-user-info):not(.modal-loan-info-styled) {
            display: none !important;
        }
        
        /* âœ… ÐšÑ€Ð°ÑÐ¸Ð²Ñ‹Ð¹ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ðº Ð½Ð°Ð²ÐµÑ€Ñ…Ñƒ */
        .modal-custom-title {
            /* padding: 5px 0px; */
            /* font-size: 15px; */
            color: #38730f;
            /* margin-bottom: 6px; */
            /* font-weight: 500; */
            /* text-align: left; */
            /* flex: 1; */
            font-size: 18px;
            font-weight: 600;
            /* color: white; */
            /* color: #414141; */
            text-align: center;
            /* margin-bottom: 2px; */
            padding: 12px;
            background-color: #e0ffcb;
            /* background: #66c426; */
            /* background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); */
            border-radius: 8px;
            border: 1px solid #d9f7c4;
            /* animation: slideInFromTop 0.5s ease-out; */
        }
        
        /* âœ… Ð˜Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ð¾Ð½Ð½Ñ‹Ð¹ Ð±Ð»Ð¾Ðº Ð² Ð¼Ð¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ð¼ Ð¾ÐºÐ½Ðµ */
        .modal-user-info {
            animation: slideInFromTop 0.4s ease-out;
            margin-bottom: 2px;
            width: 100%;
            box-sizing: border-box;
            display: block !important;
            clear: both;
        }
        
        .modal-user-card {
            background-color: #f7f7f7;
            border: 1px solid #efefef;
            /* background: #f1faec; */
            /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
            border-radius: 10px;
            padding: 15px;
            /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
            max-width: 100%;
            overflow: hidden;
            box-sizing: border-box;
        }
        
        .modal-user-card-title {
            font-size: 16px;
            font-weight: 700;
            color: #414141;
            text-align: center;
            /* background-color: #f7f7f7; */
            /* background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%); */
            /* border: 1px solid #efefef; */
            border-radius: 6px;
            padding: 10px;
            margin-bottom: 10px;
            /* border-bottom: 1px solid #dddddd; */
            text-transform: uppercase;
            letter-spacing: 0.5px;
            /* box-shadow: 0 2px 4px rgba(76, 175, 80, 0.1); */
        }
        
        .modal-user-row {
            display: flex;
            align-items: center;
            padding: 8px 15px;
            margin-bottom: 6px;
            background-color: #ffffff;
            /* border: 1px solid #efefef; */
            /* background: #f1faec; */
            /* background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); */
            border-radius: 6px;
            /* border-left: 3px solid #2196f3; */
            /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
            transition: all 0.2s ease;
            max-width: 100%;
            overflow: hidden;
            box-sizing: border-box;
        }
        
        .modal-user-row:hover {
            /* transform: translateX(3px); */
            /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
        }
        
        .modal-user-row:last-child {
            margin-bottom: 0;
        }
        
        .modal-user-label {
            display: flex;
            align-items: center;
            /* padding: 2px 0px 2px 10px; */
            /* margin-bottom: 6px; */
            /* background-color: #f7f7f7; */
            /* border: 1px solid #efefef; */
            /* background: #f1faec; */
            /* background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); */
            border-radius: 6px;
            /* border-left: 3px solid #2196f3; */
            /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
            transition: all 0.2s 
ease;
            max-width: 100%;
            overflow: hidden;
            box-sizing: border-box;
            font-size: 13px;
            color: #676869;
            font-weight: 500;
            min-width: 110px;
        }
        
        .modal-user-value {
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            color: #414141;
            text-align: right;
            flex: 1;
            /* overflow-wrap: break-word; */
            word-break: break-word;
        }
        
        @keyframes slideInFromTop {
            0% {
                opacity: 0;
                transform: translateY(-10px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* âœ… Ð¡Ñ‚Ð¸Ð»Ð¸Ð·Ð°Ñ†Ð¸Ñ Ð¸Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ð¸ Ð¾ Ð·Ð°Ð¹Ð¼Ðµ Ð² Ð¼Ð¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ð¼ Ð¾ÐºÐ½Ðµ */
        .modal-loan-info-styled {
            margin-top: 2px;
            width: 100%;
            box-sizing: border-box;
            display: block !important;
            clear: both;
        }
        
        .modal-loan-info-row {
            color: #676869;
            font-weight: 500;
            display: flex;
            align-items: center;
            padding: 8px 15px;
            margin-bottom: 6px;
            background-color: #f7f7f7;
            border: 1px solid #efefef;
            /* background: #f1faec; */
            /* background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); */
            border-radius: 6px;
            /* border-left: 3px solid #2196f3; */
            /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
            transition: all 0.2s ease;
            max-width: 100%;
            overflow: hidden;
            box-sizing: border-box;
        }
        
        .modal-loan-info-row:hover {
            /* transform: translateX(3px); */
            /* box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); */
        }
        
        .modal-loan-info-icon {
            font-size: 18px;
            margin-right: 10px;
            min-width: 22px;
            text-align: center;
        }
        
        .modal-loan-info-text {
            /* background: #fff; */
            padding: 5px;
            border-radius: 7px;
            font-size: 14px;
            color: #676869;
            flex: 1;
            overflow-wrap: break-word;
            word-break: break-word;
            text-align: right;
            /* max-width: 250px; */
            margin-right: 0;
        }
        
        .modal-loan-info-text strong {
            color: #414141;
            font-weight: 700;
            /* font-size: 15px; */
            white-space: nowrap;
            text-align: right;
        }
        
        .modal-loan-info-timer {
    /* padding-top: 15px; */
    /* padding-bottom: 15px; */
    /* padding-left: 15px; */
    /* padding-right: 15px; */
    display: flex;
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    border-radius: 8px;
    z-index: 999;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 19px;
    overflow-wrap: break-word; */
    max-width: 95vw;
    margin-top: 1em;
    /* padding: 12px calc(95px + 32px); */
    background-color: #f5f6f8;
    justify-content: space-between;
    background-color: #5a5a5a;
    box-sizing: border-box;
    background-image: url(https://web-zaim.ru/_next/static/media/background1.e29a06ef.svg);
    background-repeat: no-repeat;
    background-size: cover;
    }
        
        .modal-loan-info-timer-label {
            /* display: flex; */
            margin-right: auto;
            text-align: left;
            /* backdrop-filter: blur(3px); */
            /* background: #ffffff7d; */
            /* padding: 20px 10px; */
            border-radius: 10px;
            max-width: 250px;
            color: #377b09;
            z-index: 999;
            display: table-cell;
            vertical-align: middle;
            padding: 5px 0em;
            font-size: 15px;
            color: #ffffff;
            /* margin-bottom: 6px; */
            font-weight: 500;
            text-align: left;
            flex: 1;
        }
        
        .modal-loan-info-timer .timer {
            text-align: right;
            font-size: 28px;
            font-weight: 700;
            color: #ff6f00;
            margin: 0;
            font-family: 'Stem', monospace;
            letter-spacing: 2px;
            /* text-shadow: 0 2px 4px rgba(255, 152, 0, 0.2); */
        }
        
        /* âœ… ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð²Ð½Ð¾ÑÑ‚ÑŒ Ð´Ð»Ñ Ð¼Ð°Ð»ÐµÐ½ÑŒÐºÐ¸Ñ… ÑÐºÑ€Ð°Ð½Ð¾Ð² */
        @media (max-width: 768px) {
            .modal-box {
                padding: 10px;
                max-width: 95% !important;
                width: 95% !important;
            }
            
            .modal-box-content {
                padding: 15px 0px!important;
            }
            
            .modal-custom-title {
                font-size: 16px;
                padding: 10px;
            }
            
            .modal-user-card,
            .modal-loan-info-styled {
                border: 1px solid #efefef;
                padding: 12px;
                background: #f7f7f7;
                border-radius: 10px;
            }
            
            .modal-user-row,
            .modal-loan-info-row {
                padding: 5px 20px;
                font-size: 12px;
                margin-bottom: 4px;
                background-color: #ffffff;
            }
            
            .modal-user-label {
                font-size: 12px;
                min-width: 90px;
            }
            
            .modal-user-value {
                font-size: 12px;
            }
            
            .modal-loan-info-text {
                font-size: 13px;
            }
            
            .modal-loan-info-timer .timer {
                font-size: 24px;
            }
        }