form.urlap .form-check-input[type=checkbox] {
    width: 22px;
    height: 22px;
    border-radius: 0;
    cursor: pointer;
    margin-top: -1px;
    border-color: #000;
    border-width: 2px;
}

form.urlap label.checkbox-caption {   
    margin-left: 7px;    
}

form.urlap .form-check-input:checked[type=checkbox] {
    border-color: #076bed;
}

form.urlap .form-check-input:focus {
    box-shadow: none;
}

form.urlap .btn {
    border: 1px solid #000;
    --bs-btn-color: #000;
    padding-top: 10px;
    padding-bottom: 10px;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #011935;
    --bs-btn-hover-border-color: #011935;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #011935;
    --bs-btn-active-border-color: #011935;
}

form.urlap .btn:hover .right-arrow {
    border: solid #fff;
    border-width: 0 4px 4px 0;
}

form.urlap .right-arrow {
    border: solid #000;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}  

form.urlap .input-group {
    margin-bottom: 20px;
    display: block;
}

@media (min-width: 768px) {
    form.urlap .input-group>.form-control {
        width: 70%;
    }
    .error-message-popup {
        width: 550px;
    }
}

@media (max-width: 768px) {
    form.urlap .input-group>.form-control {
        width: 100%;
    }
    .error-message-popup {
        width: 90%;
    }
}


form.urlap .input-group label{
    margin-bottom: 5px;
}

form.urlap .submit-btn-wrapper {
    text-align: right;
}

.form-message-heading {
    color: #0c69e0;
    font-size: 30px;
    font-weight: bold;
}

.form-message {
    font-style: italic;
}

form.urlap .form-check-input.is-invalid {
    border-color: #dc3545;
}

.error-message-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    padding: 0px 20px 5px 20px;
    background-color: #ffffff;    
    z-index: 1000;
}

form.urlap input.file-upload.is-invalid {
    border-color: #dc3545;
}

form.urlap a.file-upload-btn:hover {
    color: #fff;
}

form.urlap a.file-upload-btn {
    color: #000;
}

form.urlap input.file-upload {
    color: #000;
    font-weight: 400;
}

form.urlap input.file-upload:hover {
    background-color: #fff;
}

form.urlap .error-message-popup .close-button {
    border: none;
    background-color: #fff;   
    display: block;
    margin-left: auto;
    font-weight: 800;
}

form.urlap .error-message-popup .button-wrapper {
    position: relative; 
    margin-right: -15px;
    margin-top: 5px;
}

form.urlap #form-section {
    display:none;
}

.step-container {
    display: flex;   
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 50px auto;
    position: relative;
}

.step:first-child {
    margin-left: 10%;
}

.step:last-child {
    margin-right: 10%;
}

.step-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    border-top: 5px dotted #1a2a3f;
    z-index: 1;
    transform: translateY(-50%);
}

.step {
    background-color: #bec5cd;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    z-index: 2;
    position: relative;
    font-size: 25px;
}

.step.completed {
    background-color: #7f8b99;
}

.step.completed::before {
    content: '\2714';
    font-size: 24px;
}

.step.active {
    background-color: #001839;
}

.step.inactive {
    background-color: #808b9a;
}

#kotelezo_mezok {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
}
    