.header-site-partner, .header-site-partner .header-index {
    background-color: #444 !important;
}

.dstloginindex2 {
  color: #000;
  font-size: 12px;
  line-height: 18px;
}

.dstloginindex2 a {
  color: #000;
}

.dstloginindex2 a:hover {
  color: #597986;
}


.register-card {
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
}

.type-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px 24px;
    cursor: pointer;
    transition: .2s;
    height: 100%;
}

.type-card.active {
    border-color: #ffd318 ;
    background: #fffbea;
}

.type-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffd318 ;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    font-size: 24px;
}

.type-title {
    font-weight: 700;
    margin: 20px 0 15px 0;
}

.type-desc {
    color: #6b7280;
}

input[type="radio"] {
    display: none;
}
#submitBtn{
    max-width:200px;
    width: 100%;
    font-size: inherit;
    border-radius:13px;
    padding:12px;
    margin: 0 auto;
    display: block;
}
.reg-footer-bottom {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}
.step {
    width: 100%;
    display: none;
}
.step-1{
    display: block;
}


.steps-header {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
}

.steps-line {
    position: absolute;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 200px; 
    height: 3px;
    background-color: #ffd318 ; 
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 60px; 
    width: 120px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffd318 ;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: #000;
    margin-bottom: 8px;
}

.step-text {
    font-size: 13px;
    font-weight: 600;
    color: #000;
}

.step-title {
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
    color: #000;
}

.step-desc {
    text-align: center;
    color: #6b7280; 
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.custom-group {
    max-width: 500px;
    margin: 0 auto 15px auto;
    text-align: left;
}

.custom-label {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.custom-input {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 10px 15px;
    font-size: 16px;
    width: 100%;
}

.custom-input::placeholder {
    color: #9ca3af;
}

.inn-legend {
    max-width: 500px;
    margin: 0 auto 30px auto;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
}

.inn-legend b {
    font-weight: 700;
    color: #000;
}

.step-actions {
    display: flex;
    justify-content: center;
    gap: 20px; 
    margin-bottom: 40px;
}

.btn-step-back, .btn-step-next {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    min-width: 140px;
    transition: background 0.2s;
}

.btn-step-back {
    background-color: #f3f4f6;
    color: #374151;
}

.btn-step-back:hover {
    background-color: #e5e7eb;
}

.btn-step-next {
    background-color: #ffd318;
    color: #374151;
}

.btn-step-next:hover {
    opacity: 0.8;
    background-color: #ffd318;
    transition: 0.5s;
}

.step-footer-note {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}
.loader {
    position: absolute;
    background: rgba(242, 246, 250, 0.5);
    top: 0;
    bottom: 0;
    z-index: 10;
    left: 0;
    right: 0;
}
.loader-img{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.registration-block {
    margin: 0 auto !important;
    width: 100%;
}


.sub-title {
    width: 100%;
    clear: both; 
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    margin-top: 30px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.sub-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffd318;
    margin-top: 10px;
}
.final-step-actions {
    margin-top: 30px;
}
.was-validated .form-control:valid, .form-control.is-valid, .was-validated .custom-select:valid, .custom-select.is-valid {
    border-color: #b7b7b7;
    border-radius: 8px;
    background: unset;
}
.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated .custom-select:invalid, .custom-select.is-invalid {
    border-color: #DB4437 !important;
    border-radius: 8px;
}


.partner-nav-top {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #666; 
    transition: color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.back-link:hover {
    color: #000;
    transform: translateX(-3px); 
}

.back-link .arrow-icon {
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor; 
    transform: rotate(-45deg); 
    margin-right: 8px; 
    margin-top: 1px; 
}


.alert-warning-custom {
    background-color: #fffbea; 
    border: 2px solid #ffd318;
    border-radius: 10px;       
    padding: 20px 30px;       
    color: #333;            
    font-weight: 600;         
    font-size: 15px;          
    line-height: 1.5;         
    text-align: center;        
    margin-bottom: 30px;      
    width: 100%;
}


.custom-dropzone {
    background-color: #f9fafb; 
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.custom-dropzone:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.btn-custom-upload {
    background-color: #1e88e5 !important;
    border-color: #1e88e5 !important;
    color: #fff !important;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 15px;
    pointer-events: none;
}

.dropzone-hint {
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.5;
    max-width: 450px;
    margin: 0 auto;
}

.invisible-uploader {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.upload_files .previews_list .preview {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upload_files .previews_list .preview .name {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.upload_files .previews_list .preview a {
    color: #ef4444;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.data-company-item {
    border-bottom: 1px solid #e8e8e8;
    padding: 10px;
}

.data-company-items {
    background-color: #f9f9f9;
    border-radius: 15px;
}


.data-company-grid {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.company-row {
    display: flex;
    width: 50%; 
    border-bottom: 1px solid #e8e8e8;
    min-height: 50px;
}

.company-row:nth-last-child(-n+2) {
    border-bottom: none;
}

.company-label {
    width: 40%;
    background-color: #f9f9f9;
    padding: 12px 15px;
    color: #212529;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    border-right: 1px solid #e8e8e8;
}

.company-value {
    width: 60%;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    background-color: #fff;
    font-size: 14px;
    color: #333;
}

.value-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.btn-change {
    color: #007bff;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
}

.btn-change:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .company-row {
        width: 100%;
    }
    .company-row:nth-last-child(2) {
        border-bottom: 1px solid #e8e8e8;
    }
}

.upload_files .previews_list .preview {
    max-width: 200px;
    width: 100%;
}
@media (max-width: 600px) {
    .upload_files .previews_list .preview {
        max-width: unset;
        width: 100%;
    }
}

.form-checkbox.is-invalid ~ .invalid-feedback {
    display:block;
}   