/*
Theme Name: Matryca kompetencji
Theme URI:  https://matrycakompetencji.pl
Author:     Fascinate
Author URI: https://fascinate.pl
Template:   kadence
Version:    1.0
License:    GNU General Public License v2 or later
*/
.mk-form {
    width: 100%;
}

.mk-form-title {
    text-align: center;
    margin: 0 0 28px;
    font-size: 26px;
    font-weight: 700;
}

.mk-field {
    margin-bottom: 14px;
}

.mk-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.mk-field label span,
.mk-required-info span {
    color: #f7941d;
}

.mk-name-row > p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.mk-form .mk-field {
    margin-bottom: 9px;
}

.mk-form .mk-field label {
    margin-bottom: 3px;
}
.modal-checkbox .kt-modal-container{
	max-height:calc(100% - 100px);
}
.mk-form input[type="text"],
.mk-form input[type="email"],
.mk-form input[type="tel"],
.mk-form select,
.mk-form textarea {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #777;
    border-radius: 3px;
    background: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.mk-form textarea {
    height: 150px;
    resize: vertical;
}

.mk-form input:focus,
.mk-form select:focus,
.mk-form textarea:focus {
    outline: none;
    border-color: #f7941d;
}

.mk-required-info {
    margin: 8px 0 15px;
    font-size: 12px;
}

.mk-rodo-text {
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 15px;
}

.mk-rodo-text a,
.mk-consent a {
    color: #f7941d;
    text-decoration: underline;
}

.mk-consent {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.mk-consent .wpcf7-list-item {
    margin: 0;
}

.mk-consent label {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.mk-consent input[type="checkbox"] {
    margin-top: 3px;
    flex: 0 0 auto;
}

.mk-submit input[type="submit"] {
    min-width: 230px;
    height: 45px;
    padding: 0 30px;
    border: 0;
    border-radius: 3px;
    background: #f7941d;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

.mk-submit input[type="submit"]:hover {
    opacity: .85;
}
/* usuń domyślne odstępy generowane przez CF7 */
.mk-form .mk-field > p {
    margin: 0;
}

.mk-form .mk-field > p > br {
    display: none;
}

/* etykieta bliżej pola */
.mk-form .mk-field label {
    display: block;
    margin: 0 0 5px;
    line-height: 1.2;
}

/* odstęp między kolejnymi polami */
.mk-form .mk-field {
    margin-bottom: 14px;
}

/* IMIĘ + NAZWISKO w dwóch kolumnach */
.mk-form .mk-name-row > p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
}

/* CF7 dodaje BR pomiędzy inputami - ukrywamy */
.mk-form .mk-name-row br {
    display: none;
}

.mk-form .mk-name-row .wpcf7-form-control-wrap {
    width: 100%;
}

/* pola formularza */
.mk-form input[type="text"],
.mk-form input[type="email"],
.mk-form input[type="tel"],
.mk-form select,
.mk-form textarea {
    width: 100%;
    box-sizing: border-box;
}

/* mobile */
@media (max-width: 600px) {
    .mk-form .mk-name-row > p {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .mk-name-row {
        grid-template-columns: 1fr;
    }

    .mk-submit input[type="submit"] {
        width: 100%;
    }
}