
/* СИСТЕМА КОНКУРСОВ */
div#off-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.primdip, .etap, .oplatdip {
    background: #a2a64b;
}
.page-title {
    font-size: 26px;
    font-weight: 400;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Формы и инпуты */
select, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], 
input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], 
input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], 
.coupon_code_wrapper #coupon_code {
    -moz-border-radius: var(--border-radius);
    -webkit-border-radius: var(--border-radius);
    -ms-border-radius: var(--border-radius);
    border-radius: var(--border-radius);
    background-clip: padding-box;
    height: 45px;
    height: 2.8125rem;
    padding: 0px 15px;
    padding: 0rem 0.9375rem;
    font-size: 14px;
    line-height: 22.4px;
    font-size: 0.875rem;
    line-height: 1.4rem;
    font-weight: normal !important;
    font-weight: 300 !important;
    background-color: rgba(0, 0, 0, 0.03);
    border: none;
    border-color: transparent;
    outline: 0 none;
    font-family: inherit;
    font-weight: normal;
    font-weight: 400;
    width: 100%;
}

/* Кнопки */
.oplatdip {
    font-weight: 800 !important;
    font-size: 15px;
    padding: 17px !important;
    font-family: Montserrat;
    color: #fff;
    border-radius: 30px !important;
    margin-top: 15px;
    cursor: pointer;
    border: none;
    -moz-border-radius: var(--border-radius);
    -webkit-border-radius: var(--border-radius);
    -ms-border-radius: var(--border-radius);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.etap2_block form.formzayavka {
    padding: 0 !IMPORTANT;
}

.oplatdip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 89, 100, 0.3);
}

.vc_btn3.vc_btn3-color-danger, .vc_btn3.vc_btn3-color-danger.vc_btn3-style-flat {
    color: #fff;
    padding: 17px 35px !important;
    font-weight: 800 !important;
    font-size: 14px;
    font-family: Montserrat;
    background-color: rgb(255, 89, 100);
}

/* Диплом */
#diploma {
    width: 39%;
    text-align: center;
    display: inline-block;
}

#imgdip {
    background-size: cover !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    width: 405px;
    height: 575px;
    line-height: 10px !important;
    padding: 120px 65px 120px 65px;
    background-size: cover;
    margin: 0 auto;
    text-align: center;
}

.primdip {
    font-size: 11px;
    z-index: 99;
    display: inline-block;
    right: 50px;
    color: #ffffff;
    border-radius: 30px;
    font-weight: 600;
    padding: 10px;
    margin: 18px;
}

form.formzayavka, .etap2_block {
    padding: 20px;
    background-color: #f6f6f4;
    margin-bottom: 20px;
    height: auto;
    text-align: left;
    border-radius: 0px 30px 30px 30px;
}

/* Текст в дипломе */
#diploma p, #diploma span {
    font-size: 10px;
    color: #000000 !important;
    line-height: 12px;
    text-align: center !important;
    padding: 0px !important; 
    margin: 0px;
}

#nomdip {
    font-weight: 600 !important;
    margin-bottom: 0px !IMPORTANT;
    display: block;
    margin-top: 3px;
}

#fio11 {
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0px !important;
}

#dolzhnost, #rukovod {
    display: inline !important;
    margin: 0px !important;
}

#obraz {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

#ochni {
    margin-bottom: 0px !important;
}

#skobki {
    display: inline !important;
    font-weight: 600 !important;
}

#datta {
    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 12px !important;
}

#melktext {
    font-size: 8px !important;
    margin: 0px !important;
    padding: 0px 10px !important;
    line-height: 10px !IMPORTANT;
    margin-bottom: 5px !important;
    margin-top: 5px !important;
}

#temarab, #temanaz {
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}

#nomnaz {
    margin-bottom: 0px !important;
}

#nominac {
    margin: 0px !important;
    margin-top: 0px !important;
}

#gorodd_dip {
    display: inline !important;
    margin: 0px !important;
    font-weight: 600;
}

#nazv, #predmet_disp {
    font-weight: 600;
}

#konkrdm {
    display: inline-block !important;
    margin: 0px !important;
    margin-bottom: 2px !important;
}

#uro {
    line-height: 12px !important;
    margin: 0px !important;
    display: inline-block !important;
}

#mestouch {
    margin: 0px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    margin-bottom: 5px ! IMPORTANT;
}

/* Форма заявки */

.inputzayavka {
    width: 49% !important;
    display: inline-block !important;
    padding: 0px !important;
    margin: 0px !IMPORTANT;
    padding-bottom: 10px !important;
}

form.formzayavka {
    font-size: 14px;
}

.blocketap {
    background-color: #f6f6f4 !important;
}

.inputzayavka input {
    margin: 0px !important;
    line-height: 22.4px;
    font-size: 14px;
    border-radius: 30px;
}

.inputzayavka select {
    margin: 0px !important;
    text-align-last: left;
    font-size: 14px;
    border-radius: 30px;
}

.titlezayavka {
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 600;
    text-align: left;
}

.scrito {
    font-size: 11px;
    text-align: left !important;
    opacity: .4;
    float: left;
    margin-left: 10px;
    width: 100%;
    line-height: 20px;
    margin-bottom: 10px;
}

.blocketap, .blockpay {
    font-size: 14px;
    padding: 15px;
    font-weight: 500;
    width: calc(33% - 1px);
    text-align: center;
}

.oferta a {
text-decoration: underline;
}
p.proverte, p.consent-note {
    font-size: 10px;
    line-height: 12px;
    margin-top: 10px ! IMPORTANT;
    margin-bottom: 10px ! IMPORTANT;
    opacity: .4;
}
.etap {
    font-size: 14px !important;
    height: 22px !important;
    color: #fff;
    line-height: 20px !important;
    margin: 0 auto;
    border-radius: 30px;
    aspect-ratio: 1 / 1;
}
.site-content {
    min-height: 80vh;
}
span#titledip {
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 30px;
}
/* Поиск */
.search-page-input {
    background-color: #fff !important;
    font-weight: 600 !IMPORTANT;
    color: #000000 ! IMPORTANT;
    font-size: 14px ! IMPORTANT;
    -moz-border-radius: var(--border-radius);
    -webkit-border-radius: var(--border-radius);
    -ms-border-radius: var(--border-radius);
    border-radius: var(--border-radius);
    background-clip: padding-box;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    text-align: center;
    height: 55px ! IMPORTANT;
    /* width: 22.5rem !important; */
    border-radius: var(--border-radius) ! IMPORTANT;
}

.searchtextpage {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 10px;
    font-weight: 400;
    color: #777777;
}

.textminiresult {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 10px;
    margin: 20px 0px;
    font-weight: 400;
    color: #777777;
}
table#table_example {
    background-color: #f6f6f4;
    margin-top: 30px;
    border-radius: 30px;
    padding: 15px;
}
.ajax-search-submit img {
    width: 35px;
    vertical-align: middle;
    position: absolute;
    left: 11px;
    top: 10px;
    fill: #ffffff;
}

form.ajax-search-form {
    position: relative;
}
input.search-page-input {
    flex: 0 0 80%;
    width: 80%;
    min-height: 45px;
    padding: 12px 16px;
    font-weight: 600 !important;    text-transform: uppercase;
    border-radius: 30px 0px 0px 30px !important;
    border-right: none;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
    background: #f6f6f4 ! IMPORTANT;
}


/* Зона загрузки файла */
.ai-upload-zone .upload-icon, .upload-zone .upload-icon {
    font-size: 26px;
    margin-bottom: 4px;
}
.upload-title {
    font-weight: 600;
    font-size: 14px;
}
.formats {font-size:11px;color:#999;margin-top:3px}
.ai-result-block.place1 { background: #fff8dc; border: 2px solid #f0c040; color: #7a5a00; }
.ai-result-block.place2 { background: #f0f0f0; border: 2px solid #aaa; color: #444; }
.ai-result-block.place3 { background: #fdf0e0; border: 2px solid #c8892a; color: #7a4a00; }
.ai-result-block.participant { background: #eef; border: 2px solid #99a; color: #445; }
.ai-result-block.ai-error { background: #fff0f0; border: 2px solid #e00; color: #900; }

.ai-result-block {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: none;
    width: 100%;
    box-sizing: border-box;
}


.ai-upload-block {
    margin: 12px 0 0 0;
    width: 100%;
    box-sizing: border-box;
}
.ai-upload-zone, .upload-zone {
    width: 100%;
    box-sizing: border-box;
    padding: 18px 14px;
    border: 2px dashed #bbb;
    border-radius: 8px;
    background: #f9f9f9;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 13px;
    color: #666;
}
.ai-upload-zone:hover, .ai-upload-zone.dragover, .upload-zone:hover, .upload-zone.dragover {
    border-color: var(--red, #c0392b);
    background: #fff5f5;
    color: #c0392b;
}
.ai-upload-zone .upload-icon { font-size: 26px; margin-bottom: 4px; }
.ai-upload-zone input[type="file"] { display: none; }


#file-input {
    display: none;
}

/* Результат оценки олимпиады — стиль как у конкурсов (.ai-result-block) */
.eval-result {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: none;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.eval-result.show {
    display: block;
    animation: fadeIn 0.4s;
}

/* Цвета по местам — идентично .ai-result-block */
.eval-result.place-1 { background: #fff8dc; border: 2px solid #f0c040; color: #7a5a00; }
.eval-result.place-2 { background: #f0f0f0; border: 2px solid #aaa;    color: #444; }
.eval-result.place-3 { background: #fdf0e0; border: 2px solid #c8892a; color: #7a4a00; }
.eval-result.participant { background: #eef; border: 2px solid #99a;   color: #445; }

.eval-icon {
    font-size: 13px;
    display: inline;
}

.eval-title {
    font-size: 13px;
    font-weight: 600;
    display: inline;
}

.eval-details {
    border-radius: var(--border-radius);
    text-align: left;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

.eval-price {
    font-size: 18px;
    font-weight: bold;
}

.eval-price .old-price {
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 10px;
}

/* Прогресс загрузки */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: var(--border-radius);
    margin: 15px 0;
    overflow: hidden;
    display: none;
}

.progress-bar.show {
    display: block;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s;
}

/* Статус загрузки */
.upload-status {
    margin-top: 10px;
    font-size: 14px;
}
/* Лоадер */
.loader {
    display: none;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 15px auto;
}

.loader.show {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; }
}

/* Вопросы теста */
.question-block {
    background: #fafafa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    text-align: left;
}

.question-number {
    color: #458dc7;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.question-text {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

.variants label {
    display: block;
    padding: 10px;
    margin: 5px 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
}

.variants label:hover {
    background: #e3f2fd;
    border-color: #458dc7;
}

.variants input[type="radio"] {
    margin-right: 10px;
}

/* Результаты теста */
.result-container {
    max-width: 600px;
    margin: 40px auto;
    background: #fafafa;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.result-score {
    font-size: 64px;
    font-weight: bold;
    color: #458dc7;
    margin: 20px 0;
}

.result-place {
    font-size: 24px;
    font-weight: bold;
    color: #ff5964;
    margin: 20px 0;
    padding: 15px 25px;
    background: #fff;
    border-radius: var(--border-radius);
    border: 2px solid #ff5964;
    display: inline-block;
}

.price-block {
    font-size: 32px;
    font-weight: bold;
    color: #2ecc71;
    margin: 30px 0;
}

.btn-oplatit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-oplatit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #667eea;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Таблица результатов */
table#table_example th, table#table_example td {
    font-size: 14px !important;
    line-height: 16px;
    padding: 8px 3px;
    text-align: left;
}

table#table_example .skachdip, table#table_example .skachblag {
    font-size: 12px !important;
    line-height: 15px !important;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: black;
    border-radius: 30px;
    background: #d5db61;
}
table#table_example tr {
    border-bottom: 1px solid #a2a64b3d !important;
}
.skachdip {
    display: inline-block;
    padding: 20px 15px;
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 12px;
    margin: 2px;
}

.skachdip:hover {
    background: #357abd;
    text-decoration: none;
}

    form.ajax-search-form {
    display: flex;
}
.l-search button.ajax-search-submit {
    flex: 0 0 20%;
    width: 20%;
    height: auto;
    border-radius: 0px 30px 30px 0px ! IMPORTANT;
    min-height: 45px;
    padding: 12px 16px;
    background-color: #a2a64b;
    border: none ! IMPORTANT;
    color: white;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}
   
/* МОБИЛЬНАЯ ВЕРСИЯ */
@media screen and (max-width: 999px) {
    .vc_col-sm-4 {
        width: 100%;
    }
    #imgdip {
    zoom: 70%;
    }
    .nomobile {
        display: none;
    }
    
    .bid-order#content, #diploma {
        width: 100% !important;
    }
    
    #diploma {
        position: static !important;
        margin-bottom: 30px !important;
    }
    
    #page-wrap.row {
        display: block !important;
    }
    
    h2 {
        font-size: 30px !important;
        line-height: 30px !important;
        font-weight: 800 !important;
        margin-top: 60px !important;
        margin-bottom: 30px;
    }
    
    .inputzayavka {
        width: 100% !important;
    }
    
    .scrito {
        font-size: 12px !important;
        margin-bottom: 15px !important;
        margin-top: 8px !important;
    }
    
    .blocketap, .blockpay {
        font-size: 12px !IMPORTANT;
        width: calc(32% - 0.5px);
        line-height: 17px;
    }
    
    .etap {
        font-size: 16px !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
    }
    
    .primdip {
        font-size: 12px !important;
        padding: 5px 15px !important;
        margin: 5px;
    }
    
    .search-page-input {
        font-size: 18px !IMPORTANT;
        height: 60px !IMPORTANT;
        width: 100% !IMPORTANT;
    } 
    .ajax-search-submit img {
        width: 30px !IMPORTANT;
        left: 15px !IMPORTANT;
        top: 15px !IMPORTANT;
    }
    
    form.ajax-search-form {
        width: 100%;
    }
    
    .searchtextpage {
        font-size: 16px !important;
        line-height: 20px !important;
        margin-bottom: 20px !important;
        margin-top: 20px !IMPORTANT;
        width: 100%;
        margin: 0 auto;
    }
    
    .textminiresult {
        font-size: 16px !important;
        line-height: 20px !important;
        padding-top: 20px;
        width: 100%;
        margin-bottom: 30px !IMPORTANT;
        margin: 0 auto !IMPORTANT;
    }
}

/* ДЕСКТОПНАЯ ВЕРСИЯ - Sticky диплом */
@media screen and (min-width: 1000px) {
    /* Убираем overflow hidden у всех родительских контейнеров */
    #off-container, 
    .off-drop, 
    .off-content, 
    .mc-light, 
    .boxed-layout {
        overflow: visible !important;
    }
    
    /* Родительский контейнер */
    #page-wrap.row:not(.result_page) {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        position: relative !important;
        overflow: visible !important;
    }
    
    /* Левая колонка с формой */
    .bid-order#content {
        width: 60% !important;
        display: block !important;
        float: none !important;
    }
    
    /* Правая колонка с дипломом - sticky */
    #diploma {
        width: 38% !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 20px !important;
        align-self: flex-start !important;
        display: block !important;
        margin-top: 0 !important;
        height: auto !important;
        float: none !important;
        transition: all 0.3s ease;
    }
    
    .paycontent {
        margin-left: 20%;
    }
    
}
/* Honeypot anti-bot field — must stay hidden */
.hp-field { display: none !important; }
/* //СИСТЕМА КОНКУРСОВ */
