/* ============================================================
   service.css — стилове за клиентската сервизна страница
   (service.php)
   ============================================================ */

/* Основен контейнер на страницата */
.service_wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 15px 50px;
}

/* Карта с формата */
.service_form {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.service_intro {
    margin: 0 0 10px;
    color: #4a4a4a;
    line-height: 1.6;
}

.service_required {
    margin: 0 0 20px;
    color: #d33131;
    font-size: 13px;
}

/* Съобщение за успех (зелено) и грешка (червено) */
.service_message,
.service_error {
    max-width: 760px;
    margin: 0 auto 20px;
    padding: 14px 16px;
    border-radius: 6px;
    line-height: 1.5;
}

.service_message {
    background: #edf8ef;
    border: 1px solid #b7dfbf;
    color: #256934;
}

.service_error {
    background: #fff2f2;
    border: 1px solid #efb7b7;
    color: #b12626;
}

/* Полета на формата — използват общия .reg_field клас */
.service_form .reg_field {
    margin-bottom: 16px;
}

.service_form .reg_field label {
    display: block;
    margin-bottom: 6px;
    color: #222;
    font-weight: 600;
}

.service_form .reg_field input,
.service_form .reg_field select,
.service_form .reg_field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 14px;
    box-sizing: border-box;
}

.service_form .reg_field textarea {
    min-height: 140px;
    resize: vertical;
}

.service_actions {
    margin-top: 22px;
}

/* Бутон за изпращане */
.service_submit {
    display: inline-block;
    min-width: 220px;
    padding: 12px 18px;
    border: 0;
    border-radius: 6px;
    background: #c71d2c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.service_submit:hover {
    background: #a71421;
}

/* Адаптиране за малки екрани */
@media (max-width: 767px) {
    .service_wrap {
        padding: 20px 12px 35px;
    }

    .service_form {
        padding: 20px 16px;
    }
}
