/*General-style.css*/


:root {
    --color-primary: #a52bd5;
    --color-secondary: #e45ad9;
    --background: #16071f;
    --text: #fff;
    --panel: rgba(35, 13, 48, 0.91);
    --border: rgba(183, 77, 226, 0.65);
    --glow: rgba(168, 39, 218, 0.25);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 24px 0 45px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);

    /* Фон на весь экран, без повторения */
    background-color: var(--background);
    background-image: url("../files/phone.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

::selection {
    color: #fff;
    background: var(--color-primary);
}

.element {
    position: relative;
    width: calc(100% - 32px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid rgba(190, 81, 236, 0.8);
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(35, 11, 47, 0.96),
        rgba(47, 15, 62, 0.91)
    );
    box-shadow:
        0 0 0 3px rgba(120, 31, 160, 0.25),
        0 0 22px rgba(165, 43, 213, 0.2);
}

/* Заголовок */

.page-header {

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85px;
    margin-bottom: 24px;
    padding: 16px 55px;
    border: 1px solid rgba(173, 78, 210, 0.48);
    border-radius: 13px;
    background: rgba(31, 10, 43, 0.55);
}

.page-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
    text-shadow: 0 0 15px rgba(205, 104, 255, 0.15);
}

.close-page {
    position: absolute;
    top: 50%;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(200, 115, 235, 0.55);
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(145deg, #55206d, #30113f);
    font-size: 27px;
    line-height: 1;
    text-decoration: none;
    transition: 0.2s ease;
}

.close-page:hover {
    color: #fff;
    background: linear-gradient(135deg, #b337d8, #7623a6);
    box-shadow: 0 0 15px var(--glow);
}

/* Основные панели */

.container,
.container2 {
    width: 100%;
    min-width: 0;
    margin: 0 0 24px;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid rgba(173, 126, 199, 0.52);
    border-radius: 15px;
    background: linear-gradient(
        135deg,
        rgba(43, 23, 57, 0.96),
        rgba(26, 15, 40, 0.96)
    );
    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.17),
        inset 0 0 20px rgba(151, 65, 187, 0.035);
}

.section-title,
.container2 .title {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(22px, 3vw, 29px);
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.section-title::after,
.container2 .title::after {
    display: block;
    width: 78px;
    height: 3px;
    margin: 13px auto 0;
    border-radius: 5px;
    background: linear-gradient(90deg, #b23ce0, #e568dc);
    box-shadow: 0 0 9px rgba(185, 65, 225, 0.25);
    content: "";
}

.info-text p,
.instructions p,
.instructions li,
.selfie-block p,
.admin-contact p {
    margin: 0 0 15px;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.info-text p:last-child {
    margin-bottom: 0;
}

/* Инструкция */

.instructions {
    margin-top: 25px;
    padding: 21px 23px;
    border: 1px solid rgba(173, 126, 199, 0.38);
    border-left: 3px solid #b14bd8;
    border-radius: 11px;
    background: rgba(20, 8, 30, 0.42);
}

.instructions h3 {
    margin: 0 0 12px;
    color: #e4a4ff;
    font-size: 20px;
}

.instructions ol {
    margin: 12px 0 0;
    padding-left: 24px;
}

.instructions li {
    padding-left: 5px;
    margin-bottom: 12px;
}

.instructions li:last-child {
    margin-bottom: 0;
}

/* Форма удаления */

.container2 {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}

.telegram-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.field-label {
    margin-top: 7px;
    color: #f0e3f7;
    font-size: 14px;
    font-weight: 700;
}

.feedback-input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0 0 5px;
    padding: 12px 14px;
    border: 1px solid rgba(176, 123, 202, 0.48);
    border-radius: 9px;
    outline: none;
    background: rgba(19, 8, 28, 0.65);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.feedback-input::placeholder {
    color: rgba(235, 215, 245, 0.58);
}

.feedback-input:focus {
    border-color: #c55be9;
    background: rgba(31, 11, 43, 0.9);
    box-shadow: 0 0 0 3px rgba(169, 57, 211, 0.15);
}

.feedback-input option {
    color: #fff;
    background: #281336;
}

.file-input {
    padding: 9px;
}

.file-input::file-selector-button {
    margin-right: 12px;
    padding: 9px 13px;
    border: 1px solid rgba(214, 165, 235, 0.6);
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(135deg, #673181, #48215e);
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.file-input::file-selector-button:hover {
    background: linear-gradient(135deg, #8d3daf, #63267f);
}

/* Фотография */

.selfie-block {
    margin: 16px 0 8px;
    text-align: center;
}

.selfie-image {
    display: block;
    width: min(100%, 320px);
    max-height: 420px;
    margin: 0 auto 14px;
    border: 1px solid rgba(186, 113, 217, 0.6);
    border-radius: 11px;
    object-fit: contain;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
}

.selfie-block p {
    color: #e5d6ed;
    font-size: 14px;
}

/* Кнопки в стиле сайта */

.submit-btn,
.admin-link .glowing-btn {
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 49px;
    margin-top: 12px;
    padding: 12px 18px;
    border: 1px solid #b56bd2;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(180deg, #71338e, #49205e);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.12),
        0 3px 9px rgba(0, 0, 0, 0.2);
    font-size: 15px;
    letter-spacing: 0.7px;
}

.submit-btn:hover {
    border-color: #e0a0f7;
    background: linear-gradient(180deg, #9144b2, #62277e);
    box-shadow:
        0 0 0 2px rgba(171, 74, 210, 0.14),
        0 0 18px rgba(171, 74, 210, 0.22);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0) scale(0.99);
}

.submit-btn:focus-visible,
.close-page:focus-visible,
.admin-link:focus-visible {
    outline: 2px solid #e8b2ff;
    outline-offset: 3px;
}

/* Администратор */

.admin-contact {
    padding: 18px 10px 10px;
    text-align: center;
}

.admin-contact p {
    color: #e4d5ed;
}

.admin-link {
    display: inline-block;
    max-width: 100%;
    text-decoration: none;
}

/* Переопределяем кнопку из knopka.css,
   не затрагивая другие кнопки сайта */

.admin-link .glowing-btn {
    min-height: 43px;
    padding: 10px 24px;
    border: 1px solid #b16acb;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(180deg, #71338e, #49205e);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}

.admin-link .glowing-btn:hover {
    border-color: #e0a0f7;
    background: linear-gradient(180deg, #9144b2, #62277e);
    box-shadow: 0 0 16px rgba(171, 74, 210, 0.3);
    transform: translateY(-1px);
}

.admin-link .glowing-txt {
    color: #fff;
    font-size: 15px;
    letter-spacing: 2px;
    text-shadow: none;
}

.admin-text-link {
    display: inline-block;
    margin-top: 10px;
    color: #e2a4ff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

.admin-text-link:hover {
    color: #fff;
}










.success-message {
    text-align: center;
}

.success-message h2 {
    margin: 8px 0 14px;
    color: #e6b2ff;
    font-size: 26px;
}

.success-message p {
    margin: 0;
    font-size: 15px;
}

/* Адаптация */

@media (max-width: 700px) {
    body {
        padding: 12px 0 25px;
        background-attachment: scroll;
    }

    .element {
        width: calc(100% - 18px);
        padding: 12px;
        border-radius: 14px;
    }

    .page-header {
        min-height: 65px;
        margin-bottom: 15px;
        padding: 12px 43px 12px 12px;
        border-radius: 10px;
    }

    .page-header h1 {
        font-size: clamp(18px, 5vw, 25px);
    }

    .close-page {
        right: 7px;
        width: 32px;
        height: 32px;
    }

    .container,
    .container2 {
        margin-bottom: 15px;
        padding: 17px 14px;
        border-radius: 11px;
    }

    .info-text p,
    .instructions p,
    .instructions li {
        font-size: 15px;
    }

    .instructions {
        padding: 15px 13px;
    }

    .instructions ol {
        padding-left: 21px;
    }

    .feedback-input {
        font-size: 16px;
    }

    .admin-contact {
        padding: 12px 0;
    }

    #my-modal .modal__box {
        padding: 28px 17px;
    }
}

@media (max-width: 380px) {
    .element {
        width: calc(100% - 12px);
        padding: 8px;
    }

    .container,
    .container2 {
        padding: 14px 11px;
    }

    .submit-btn {
        font-size: 13px;
        padding-right: 8px;
        padding-left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


















/* Кнопка возврата в левом верхнем углу */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100000;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;
    padding: 0 18px;

    color: #f5eaff;
    background: linear-gradient(135deg, #39234e, #21132f);
    border: 1px solid rgba(210, 158, 255, 0.5);
    border-radius: 12px;

    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.back-button:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #7547a0, #4b2b68);
    border-color: #d5a5ff;
    box-shadow: 0 8px 24px rgba(142, 53, 214, 0.3);
    transform: translateY(-2px);
}

.back-button:active {
    transform: translateY(0);
}

.back-arrow {
    font-size: 23px;
    line-height: 1;
}

/* Адаптация для телефонов */
@media (max-width: 600px) {
    .back-button {
        top: 10px;
        left: 10px;
        min-height: 42px;
        padding: 0 13px;
        gap: 7px;
        font-size: 14px;
        border-radius: 10px;
    }

    .back-arrow {
        font-size: 21px;
    }

    .main-container {
        margin-top: 60px;
    }
}







/*------------------ПРУФЫ---------------General-style.css------------*/


.containerPROF {
    max-width:1200px;
    margin:0 auto;
    padding:0 15px;
}




.cardprof {
    background-color: rgb(238, 233, 233);
}



.cardprof__img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;   
}

.cardprof__body{
    padding: 40px;
}




.listprof{
    display: grid;
    grid-template-columns: 300px 300px 300px 300px;
    column-gap: 10px;
    row-gap:10px;
}



@media (max-width: 1200px){
    .listprof{
   grid-template-columns: 300px 300px 300px;

}

@media (max-width: 912px){
    .listprof{
   grid-template-columns: 300px 300px;

}

@media (max-width: 636px){
    .listprof{
   grid-template-columns: 500px;

}

@media (max-width: 500px){
    .listprof{
   grid-template-columns: 400px;

}

@media (max-width: 500px){
    .listprof{
   grid-template-columns: 400px;

}
@media (max-width: 400px){
    .listprof{
   grid-template-columns: 300px;

}

@media (max-width: 324px){
    .listprof{
   grid-template-columns: 250px;

}

@media (max-width: 266px){
    .listprof{
   grid-template-columns: 200px;

}

@media (max-width: 222px){
    .listprof{
   grid-template-columns: 180px;

}

@media (max-width: 202px){
    .listprof{
   grid-template-columns: 150px;

}



/*----------КОНЕЦ--------ПРУФЫ---------------------------*/
