﻿
/*............................................ВСЕ КНОПКИ...........................................*/

.RuTeenBtn {
    width: 100%;
    min-width: 200px;
    height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 20px;

    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.RuTeenBtn-primary {
    background: #BA6060;
    color: #FFFFFF;
}

    .RuTeenBtn-primary:hover {
        background: #AC4D4D;
    }

.RuTeenBtn-border {
    background: transparent;
    color: #BA6060;
    border: 1px #BA6060 solid;
}

    .RuTeenBtn-border:hover {
        background: #E8E8E8;
    }

.RuTeenBtn-green {
    background: #268F17;
    color: #FFFFFF;
}

    .RuTeenBtn-green:hover {
        background: #63C25A;
    }
.RuTeenBtn-red {
    background: #AB4E5F;
    color: #FFFFFF;
    min-width: 300px;
}
    .RuTeenBtn-red:hover {
        background: #E44E4E;
    }
.NewRuTeenBtn {
    width: 100%;
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 32px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.NewRuTeenBtn-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #FFFFFF;
    color: #E96C4B;
    height: 42px;
    padding: 11px 20px;
    width: 100px;
    border: 2px solid #E96C4B;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.NewRuTeenBtn-header > .icon-wrapper {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
}
    .NewRuTeenBtn-header:hover .icon-default {
        opacity: 0;
    }

    .NewRuTeenBtn-header:hover .icon-white {
        opacity: 1;
    }
    .NewRuTeenBtn-header:active .icon-default {
        opacity: 0;
    }

    .NewRuTeenBtn-header:active .icon-white {
        opacity: 1;
    }
    .NewRuTeenBtn-header:hover {
        background-color: #E96C4B; /* Оранжевый фон */
        color: #FFFFFF; /* Белый текст */
        border-color: #E96C4B;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(233, 108, 75, 0.3);
    }
    .NewRuTeenBtn-header:active {
        background-color: #d45f3f; /* Темно-оранжевый */
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(233, 108, 75, 0.4);
    }

.NewRuTeenBtn-primary {
    background: #E96C4B;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 2px solid #E96C4B;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
    .NewRuTeenBtn-primary.disabled {
        opacity: 0.7;
        pointer-events: none;
        min-width: 200px;
        border: 0;
    }
.NewRuTeenBtn-primary > .icon-wrapper {
    position: relative;
    display: inline-block;
    min-width: 24px;
    height: 24px;
}

    .NewRuTeenBtn-primary:hover {
        background-color: #BD5A40;
        color: #FFFFFF;
        border-color: #BD5A40;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(233, 108, 75, 0.3);
    }


/*        .NewRuTeenBtn-primary:hover .icon-default {
            opacity: 0;
        }

        .NewRuTeenBtn-primary:hover .icon-white {
            opacity: 1;
        }*/

    /* Анимация при клике */
    .NewRuTeenBtn-primary:active {
        background-color: #FFFFFF;
        color: #d45f3f;
        border-color: #d45f3f;
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(233, 108, 75, 0.4);
    }

        .NewRuTeenBtn-primary:active .icon-default {
            opacity: 0;
        }

        .NewRuTeenBtn-primary:active .icon-white {
            opacity: 1;
        }

.NewRuTeenBtn-VK {
    display: flex;
    width: 297px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    gap: 10px;
    background: #FAF6F5;
    border: 2px solid #267AFC;
    color: #267AFC;
    font-size: 18px;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* Стили для контейнера иконок */
.NewRuTeenBtn-VK .icon-wrapper {
    position: relative;
    display: inline-block;
    width: 33px;
    height: 20px;
}

.icon-default,
.icon-white {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.icon-white {
    opacity: 0;
}

/* Анимация при наведении */
.NewRuTeenBtn-VK:hover {
    background-color: #267AFC;
    color: #FAF6F5;
    border-color: #267AFC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 122, 252, 0.3);
}

    .NewRuTeenBtn-VK:hover .icon-default {
        opacity: 0;
    }

    .NewRuTeenBtn-VK:hover .icon-white {
        opacity: 1;
    }

/* Анимация при клике */
.NewRuTeenBtn-VK:active {
    background-color: #1a5fd3;
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(38, 122, 252, 0.4);
}

    .NewRuTeenBtn-VK:active .icon-default {
        opacity: 0;
    }

    .NewRuTeenBtn-VK:active .icon-white {
        opacity: 1;
    }

.NewRuTeenBtn-border {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #FAF6F5;
    border: 2px solid #E96C4B;
    color: #E96C4B;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* Контейнер для иконки (если есть) */
    .NewRuTeenBtn-border .icon-wrapper {
        position: relative;
        display: inline-block;
        width: 24px;
        height: 24px;
    }


/* Анимация при наведении */
    .NewRuTeenBtn-border:hover {
        background-color: #BD5A40; /* Оранжевый фон */
        color: #FFFFFF; /* Белый текст */
        border-color: #BD5A40;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(233, 108, 75, 0.3);
    }

    .NewRuTeenBtn-border:hover .icon-default {
        opacity: 0;
    }

    .NewRuTeenBtn-border:hover .icon-white {
        opacity: 1;
    }

/* Анимация при клике */
.NewRuTeenBtn-border:active {
    background-color: #d45f3f; /* Темно-оранжевый */
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(233, 108, 75, 0.4);
}

    .NewRuTeenBtn-border:active .icon-default {
        opacity: 0;
    }

    .NewRuTeenBtn-border:active .icon-white {
        opacity: 1;
    }


#CancelBtn{
    width: 200px;
}
#SubmitBtn{
    width: 214px;
}

.NewRuTeenBtn-article {
    position: relative;
    border-radius: 84px;
    display: flex;
    align-items: center;
    padding: 9px 9px 9px 29px;
    font-size: 20px;
    text-decoration: unset;
    font-weight: 800;
    color: #FFFFFF;
    background-color: #E96C4B;
    gap: 30px;
    border: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.BtnCircle {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    width: 55px;
    background-color: #FFFFFF;
    border-radius: 100px;
    transition: all 0.3s ease;
}

/* Эффекты при наведении */
.NewRuTeenBtn-article:hover {
    background-color: #d45f3f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 108, 75, 0.3);
}

    .NewRuTeenBtn-article:hover .BtnCircle {
        background-color: #f8f8f8;
        transform: scale(1.05);
    }

/* Эффекты при нажатии */
.NewRuTeenBtn-article:active {
    background-color: #c15538;
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(233, 108, 75, 0.4);
}

    .NewRuTeenBtn-article:active .BtnCircle {
        transform: scale(0.98);
    }

/*/////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*............................................МОДАЛЬНОЕ ОКНО............................................*/
.RuTeenModalCont {
    display: flex;
}
.RuTeenModalCont-dialog {
    align-items: center;
    width: 600px;
    max-width: 600px;
}
.RuTeenModal-header{
    border: 0;
    align-items: start;
    justify-content: center;
}
.RuTeenModal-body {
    align-self: center;
}
.RuTeenModal-body_signup{
    width: 328px;
}
.RuTeenModal-body_addphoto{
    width: 100%;
}
.RuTeenModalCont-content {
    border-radius: 0;
}
.RuTeenModal-title{
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    line-height: 1;
}
.RuTeenModal-p {
    color: #5A5956;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
}
.RuTeenForm{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////*/


/*..................................................ИНПУТЫ................................................*/

.RuTeenInputCont {
    width: 100%;
}
.RuTeenInputCont-signup{
    width: 100%;
}
.RuTeenInput {
    width: 100%;
    outline: 0;
    border: 0;
    border-bottom: 1px solid #5A5956;
    padding: 5px 0px;
}
    .RuTeenInput::placeholder {
        color: #53535399;
    }
    .RuTeenInput:focus {
        outline: 0;
    }

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/*..................................................КРОППЕР................................................*/

#cropModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.crop-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 80%;
}

.crop-image-container {
    width: 500px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

#imageToCrop {
    max-width: 100%;
    max-height: 100%;
}

.crop-buttons {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 8px;
    text-align: center;
}

.cropper-line{
    background-color: #7f5417;
}
.cropper-point {
    background-color: #E96C4B;
}
.cropper-view-box {
    outline: 1px solid #ff7a00;
    outline-color: rgb(205 97 5);
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.orangecircle {
    min-width: 16px;
    min-height: 16px;
    border-radius: 100px;
    background-color: #E96C4B;
}