﻿@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap");
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');



html,
body {
    font-family: -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";
    height: 100%;
}

.fade-in {
    opacity: 0;
    transition: opacity 4s ease-in-out;
}

    .fade-in.show {
        opacity: 1;
    }

.search-box {
    background: #FFF !important;
    max-width: 450px !important;
    margin: 0 auto !important;
    padding: 30px 50px !important;
    position: relative !important;
    .bottom-line

{
    position: absolute !important;
    bottom: 20px !important;
    width: 100% !important;
}

}

.result-box {
    background: #FFF !important;
    margin: 0 auto !important;
    max-width: 80% !important;
    padding: 30px 50px !important;
    position: relative !important;
    .bottom-line

{
    position: absolute !important;
    bottom: 20px !important;
    width: 100% !important;
}

}

h1:focus {
    outline: none;
}

a,
.btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.valid.modified:not([type=checkbox]):not([type=radio]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4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jY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.bg-gradient {
    color: #fff;
    background: linear-gradient(90deg, #0071c8, #003d6c);
    font-size: .875rem;
    background-image: linear-gradient(90deg, #0071c8, #003d6c) !important;
}

.brand-long-text {
    width: auto;
}

#app {
    flex-direction: column;
    display: flex;
    height: 100%;
}

.page {
    padding-bottom: 50px;
    margin-bottom: 25px
}

.print-section {
    display: none;
}

.fod-button {
    margin: 0 0.5rem;
}

.content {
    padding-top: 1rem;
}

@media print {

    .body-info {
        display: none;
    }

    .print-section {
        display: block;
        width: 100%;
        height: auto;
    }

    .bg-gradient {
        display: none;
    }
}

.extras-cost {
    padding: 2rem;
}

span.amount {
    font-weight: 600;
}

footer {
    background-color: #3a444a;
    color: white;
    margin-top: auto;
}

    footer .footer-bottom {
        border-top: 1px solid #4f5a60;
        color: #d4d4d4;
        font-size: .86rem;
        text-align: center;
        background-color: #3a444a;
        color: white;
        margin-top: auto;
    }

.text-right {
    text-align: right !important;
}

dl.row > dt,
dl.row > dd {
    margin-top: 0.5rem;
}


.page-wrapper {
    max-width: 1600px;
    margin: auto;
}

.navbar .navbar-nav .nav-item.active {
    color: #f34b4b;
    outline: none;
    pointer-events: none;
}

.second-header {
    box-shadow: 0px 5px 5px 0px rgb(0 0 0 / 15%);
    margin-bottom: 1rem;
}

.navbar .navbar-nav .nav-link {
    color: #404040;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 .85rem;
    font-weight: 500;
    position: relative;
    outline: none;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
}

.navbar-collapse {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ml-auto, .mx-auto {
    margin-left: auto !important;
}

.input-checkbox {
    margin-right: 3rem;
    width: 3rem;
    height: 1rem;
}

.clearCacheModal {
    background-color: rgba(0, 0, 0, 0.5); /* Затемнение фона */
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
}

.clearCacheModal-dialog {
    max-width: 70%;
    width: 100%;
}

.clearCacheModal-content {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
}

.clearCacheModal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.clearCacheModal-title {
    font-size: 20px;
    font-weight: bold;
}

.clearCacheModal-body {
    text-align: center;
}

.clearCacheModal-img {
    width: 100%; 
    max-width: 600px; 
    height: auto; 
    display: block;
    margin: 10px auto;
}

.clearCacheModal-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.file-label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

.modal.d-block {
    display: block;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.custom-file-upload {
    width: 100%;
    min-width: 64px;
    padding: 10px 12px;
    font-family: var(--fod-typography-button-family);
    font-size: var(--fod-typography-button-size);
    font-weight: var(--fod-typography-button-weight);
    line-height: var(--fod-typography-button-lineheight);
    letter-spacing: var(--fod-typography-button-letterspacing);
    box-sizing: border-box;
    transition: background-color 250ms cubic-bezier(.4, 0, .2, 1), box-shadow 250ms cubic-bezier(.4, 0, .2, 1), border 250ms cubic-bezier(.4, 0, .2, 1);
    border-radius: var(--fod-default-borderradius);
    text-transform: uppercase;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    color: var(--fod-palette-primary-text);
    background-color: var(--fod-palette-primary);
    border: 0;
    cursor: pointer;
    outline: none;
    text-align: center;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

    .custom-file-upload:hover {
        background-color: var(--fod-palette-action-default-hover);
        color: var(--fod-palette-primary-text);
    }

    .custom-file-upload .fa {
        margin-right: 8px;
    }

.required-mark {
    color: red;
    margin-left: 4px;
}

.d-none {
    display: none;
}


@media (max-width:775px) and (min-width: 360px) {
    .input-checkbox {
        margin-right: 3rem;
        width: 10rem;
        height: 2rem;
    }
}

@media (max-width: 465px ) and (min-width: 360px) {
    .text-mobile-size {
        font-size: 10px;
    }

    .extras-cost {
        padding-left: 0;
        padding-right: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
        font-size: 14.6px;
    }

    .hide-print-button {
        display: none;
    }
}

.profession-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index:1000;
}

.profession-modal-container {
    background: white;
    width: 350px;
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
}

.profession-modal-header {
    background: #4382b4;
    color: white;
    padding: 20px;
}

.profession-modal-icon {
    font-size: 40px;
}

.profession-modal-body {
    padding: 20px;
}

.profession-continue-btn {
    background: #4382b4;
    color: white;
    padding: 10px 20px;
    border: none;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

    .profession-continue-btn:hover {
        background: #356a94;
        box-shadow: 0 4px 10px rgba(67, 130, 180, 0.3);
    }

.profession-role-card {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    background: #f8f9fa;
    cursor: pointer;
    margin-top: 10px;
    border: 1px solid transparent;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

    .profession-role-card:hover {
        border: 2px solid #007bff;
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
    }

    .profession-role-card i {
        font-size: 30px;
        color: #007bff;
        margin-right: 10px;
    }

.profession-choose-role-text {
    margin: 10px 0;
    color: gray;
    font-size: 1.3rem;
    font-weight: 500;
}


.profession-role-info {
    text-align: left;
}

.notary-badge {
    background-color: #4a5a67;
    color: white;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 10px;
}

.rasc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.rasc-modal-container {
    background: white;
    width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    position: relative;
    z-index: 1000;
}

.rasc-modal-header {
    background-color: #6c757d;
    color: white;
    padding: 15px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.rasc-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rasc-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    gap: 10px;
}

.confirmation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.confirmation-modal-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
}

.confirmation-modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

.confirm-btn {
    background-color: green;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cancel-btn {
    background-color: red;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


/* Общий стиль фона */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Затемнение */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    backdrop-filter: blur(8px); /* Размытие */
}

/* Окно попапа */
.popup-container {
    background: rgba(50, 50, 50, 0.95);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(67, 130, 180, 0.4); /* Неоновое свечение */
    text-align: center;
    width: 420px;
    z-index: 1111;
    animation: fadeIn 0.3s ease-in-out;
}

/* Заголовок */
.popup-title {
    color: #4382b4;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Сетка слотов */
.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

/* Кнопки слотов */
.time-slot-button {
    background: linear-gradient(135deg, #3b698f, #4382b4);
    color: #ffffff;
    border: 1px solid #4382b4;
    padding: 10px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 8px rgba(67, 130, 180, 0.2);
}

    .time-slot-button:hover {
        background: linear-gradient(135deg, #4382b4, #5b9ec9);
        transform: scale(1.05);
        box-shadow: 0 0 12px rgba(67, 130, 180, 0.5);
    }

/* Кнопка закрытия */
.close-button {
    margin-top: 20px;
    background: #666; /* Серый цвет */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 8px rgba(100, 100, 100, 0.4);
}

    .close-button:hover {
        background: #555;
        transform: scale(1.05);
        box-shadow: 0 0 12px rgba(100, 100, 100, 0.6);
    }

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-datepicker {
    background: #ffffff; /* Белый фон */
    color: #333; /* Темный текст */
    border-radius: 12px; /* Закругленные углы */
    padding: 12px; /* Внутренний отступ */
    box-shadow: 0 4px 12px rgba(67, 130, 180, 0.3); /* Легкая тень */
    transition: all 0.3s ease-in-out;
}

    /* Заголовок (месяц и год) */
    .custom-datepicker .MuiPickersCalendarHeader-root {
        color: #3b698f; /* Голубой цвет заголовка */
        font-weight: bold;
    }

    /* Фон для ячеек с датами */
    .custom-datepicker .MuiPickersDay-root {
        background-color: #f5f5f5 !important; /* Легкий серый фон */
        color: #333 !important; /* Цвет текста */
        border-radius: 6px; /* Закругление */
        transition: background-color 0.2s;
    }

        /* При наведении - немного темнее */
        .custom-datepicker .MuiPickersDay-root:hover {
            background-color: #e0e0e0 !important;
        }

    /* Выбранная дата */
    .custom-datepicker .MuiPickersDay-daySelected {
        background-color: #4382b4 !important;
        color: #ffffff !important;
        font-weight: bold;
    }

    /* Навигационные стрелки (месяцы) */
    .custom-datepicker .MuiPickersCalendarHeader-iconButton {
        color: #4382b4 !important;
    }

.no-time-slots {
    color: white; /* Белый цвет текста */
    font-size: 20px; /* Размер шрифта можно изменить */
    text-align: center; /* Выравнивание текста по центру */
}

.popup-message-greatings p {
    font-size: 32px;
    font-weight: bold;
    color: #FFF;
}

#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.greetings-text{
    color: red; /* Сделать текст красным */
    white-space: normal; /* Позволяет тексту переноситься на несколько строк */
    text-align: center; /* Выравнивание текста по центру */
    font-size: 32px; /* Установка размера шрифта */
    font-weight: bold; /* Жирный шрифт */
}

.greatings-continue-button {
    background-color: #f1f1f1; /* Сделать кнопку менее яркой */
    color: #333; /* Темный цвет текста на кнопке */
    border: 1px solid #ccc; /* Легкая граница */
    padding: 10px 20px; /* Отступы для кнопки */
    font-size: 16px; /* Размер шрифта на кнопке */
    border-radius: 5px; /* Скругленные углы */
    transition: background-color 0.3s ease;
}

    .greatings-continue-button:hover {
        background-color: #e0e0e0; /* Изменение фона при наведении */
    }

.popup-container-greetings {
    background: rgba(235, 223, 223, 0.95);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(67, 130, 180, 0.4); /* Неоновое свечение */
    text-align: center;
    width: 420px;
    z-index: 1111;
    animation: fadeIn 0.3s ease-in-out;
}

.clickable-area {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    padding: 8px;
}

    .clickable-area:hover {
        background-color: #f0f4f8; /* светлый фон при наведении */
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    }

.card-header-full.clickable-area {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #4382B4;
    color: white;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.card-profile-icon-full {
    margin-right: 20px; /* Отступ между иконкой и текстом */
    display: flex;
    align-items: center;
    justify-content: center;
}

.head-content-full {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.current-name-full {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.current-role-full {
    font-size: 1rem;
    margin: 2px 0 0 0;
}

.qr-section-header{
    transform: scale(1.3);
    margin-left: 10rem;
}

@media(max-width: 992px){
    .qr-section-header{
        transform: scale(1.1);
        margin-left: 4rem;
    }
}

@media(max-width: 768px) {
    .qr-section-header {
        transform: scale(1);
        margin-left: 0;
        justify-content: center;
    }
}

@media(max-width: 480px) {
    .qr-section-header {
        transform: scale(0.9);
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
}