/* ===================================
   STEP 2 - CONTACT DETAILS
=================================== */

.sef-error {
    border: 1px solid #dc3545 !important;
    background: #fff5f5;
}

#step-2 {
    max-width: 850px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

#step-2 h2 {
    margin: 0 0 30px;
    font-size: 34px;
    font-weight: 700;
    color: #1f2937;
}

.sef-row {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
}

.sef-col {
    flex: 1;
}

.sef-col label,
.sef-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.sef-col label span,
.sef-form-group label span {
    color: #1565c0;
}

.sef-col input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    transition: .3s;
    box-sizing: border-box;
}

.sef-col input:focus {
    outline: none;
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, .15);
}

.sef-form-group {
    margin-top: 25px;
}

.sef-form-group>label {
    margin-bottom: 15px;
}


/* Radio */

.sef-radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 500;
}

.sef-radio input {
    width: 18px;
    height: 18px;
    accent-color: #1565c0;
}


/* Buttons */

.sef-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.sef-back,
.sef-next {
    min-width: 170px;
    height: 50px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.sef-back {
    background: #f3f4f6;
    color: #374151;
}

.sef-back:hover {
    background: #e5e7eb;
}


/* .sef-next {
    background: #1565c0;
    color: #fff;
}

.sef-next:hover {
    background: #0d47a1;
} */

#step-2 .sef-back,
#step-2 .sef-next {
    min-width: 170px;
    height: 50px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
}

#step-2 .sef-back {
    background: #f3f4f6;
    color: #374151;
}

#step- .sef-back:hover {
    background: #e5e7eb;
}

#step-2 .sef-next {
    background: #1565c0;
    color: #fff;
}

#step-2 .sef-next:hover {
    background: #0d47a1;
}


/* Responsive */

@media(max-width:768px) {
    #step-2 {
        padding: 25px;
    }
    .sef-row {
        flex-direction: column;
        gap: 18px;
    }
    .sef-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .sef-back,
    .sef-next {
        width: 100%;
    }
}


/*=========================
STEP 3
==========================*/

#step-3 {
    display: none;
    max-width: 900px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

#step-3.active {
    display: block;
}

#step-3 h2 {
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
}

.sef-step-text {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.7;
}

.sef-services-grid {
    /* display: grid; */
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.sef-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

.sef-checkbox:hover {
    border-color: #1565c0;
    background: #f8fbff;
}

.sef-checkbox input {
    width: 18px;
    height: 18px;
}

.sef-job-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.sef-radio-card {
    cursor: pointer;
}

.sef-radio-card input {
    display: none;
}

.sef-radio-card span {
    /* display: block; */
    padding: 12px 22px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    transition: .3s;
}

.sef-radio-card input:checked+span {
    background: #1565c0;
    color: #fff;
    border-color: #1565c0;
}

@media(max-width:768px) {
    .sef-services-grid {
        grid-template-columns: 1fr;
    }
    .sef-job-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}


/* .sef-job-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 15px;
} */

.sef-radio-card {
    flex: 1;
    display: grid;
}

.sef-radio-card input {
    display: none;
}

.sef-radio-card span {
    display: block;
    padding: 14px 24px;
    text-align: center;
    border: 1px solid #d8dde6;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: .2s;
}

.sef-radio-card:first-child span {
    border-radius: 8px 0 0 8px;
}

.sef-radio-card:last-child span {
    border-radius: 0 8px 8px 0;
}

.sef-radio-card:not(:first-child) span {
    border-left: none;
}

.sef-radio-card input:checked+span {
    background: #0176d3;
    color: #fff;
    border-color: #0176d3;
}

.sef-radio-card span:hover {
    background: #f4f6f9;
}

#step-3 .sef-back,
#step-3 .sef-next {
    min-width: 170px;
    height: 50px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
}

#step-3 .sef-back {
    background: #f3f4f6;
    color: #374151;
}

#step-3 .sef-back:hover {
    background: #e5e7eb;
}

#step-3 .sef-next {
    background: #1565c0;
    color: #fff;
}

#step-3 .sef-next:hover {
    background: #0d47a1;
}

@media (max-width:768px) {
    .sef-job-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .sef-radio-card span {
        border-radius: 8px !important;
        border-left: 1px solid #d8dde6 !important;
    }
}


/*=====================================
 STEP 4 - COMPANY DETAILS
======================================*/

#step-4 {
    display: none;
    max-width: 900px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

#step-4.active {
    display: block;
}

#step-4 .sef-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

#step-4 .sef-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

#step-4 .sef-row {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
}

#step-4 .sef-col {
    flex: 1;
}

#step-4 label {
    /* display: block; */
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

#step-4 label span {
    color: #dc2626;
}

#step-4 input,
#step-4 select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    transition: .3s;
    box-sizing: border-box;
}

#step-4 input:focus,
#step-4 select:focus {
    outline: none;
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, .12);
}

#step-4 .sef-form-group {
    margin-bottom: 22px;
}

#step-4 .sef-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

#step-4 .sef-back,
#step-4 .sef-next {
    min-width: 170px;
    height: 50px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
}

#step-4 .sef-back {
    background: #f3f4f6;
    color: #374151;
}

#step-4 .sef-back:hover {
    background: #e5e7eb;
}

#step-4 .sef-next {
    background: #1565c0;
    color: #fff;
}

#step-4 .sef-next:hover {
    background: #0d47a1;
}


/* Responsive */

@media(max-width:768px) {
    #step-4 {
        padding: 25px;
    }
    #step-4 .sef-row {
        flex-direction: column;
        gap: 18px;
    }
    #step-4 .sef-buttons {
        flex-direction: column;
        gap: 15px;
    }
    #step-4 .sef-back,
    #step-4 .sef-next {
        width: 100%;
    }
}


/*=====================================
 STEP 5 - INVOICE DETAILS
======================================*/

#step-5 {
    display: none;
    max-width: 900px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

#step-5.active {
    display: block;
}

#step-5 .sef-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

#step-5 .sef-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.7;
}


/* Form Groups */

#step-5 .sef-form-group {
    margin-bottom: 30px;
}

#step-5 .sef-form-group>label:first-child {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

#step-5 .sef-form-group>label:first-child span {
    color: #e53935;
}


/* Radio */

#step-5 .sef-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 16px;
    color: #374151;
}

#step-5 .sef-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #1565c0;
    flex-shrink: 0;
}


/* Invoice Address Box */

#invoice-address-fields {
    display: none;
    margin-top: 25px;
    padding: 25px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

#invoice-address-fields input,
#invoice-address-fields select {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 15px;
    box-sizing: border-box;
}

#invoice-address-fields input:focus,
#invoice-address-fields select:focus {
    outline: none;
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, .12);
}


/* Buttons */

#step-5 .sef-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

#step-5 .sef-back,
#step-5 .sef-next {
    min-width: 170px;
    height: 50px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
}

#step-5 .sef-back {
    background: #f3f4f6;
    color: #374151;
}

#step-5 .sef-back:hover {
    background: #e5e7eb;
}

#step-5 .sef-next {
    background: #1565c0;
    color: #fff;
}

#step-5 .sef-next:hover {
    background: #0d47a1;
}


/* Responsive */

@media(max-width:768px) {
    #step-5 {
        padding: 25px;
    }
    #step-5 .sef-buttons {
        flex-direction: column;
        gap: 15px;
    }
    #step-5 .sef-back,
    #step-5 .sef-next {
        width: 100%;
    }
}

.sef-success-message {
    max-width: 700px;
    margin: 50px auto;
    padding: 35px;
    text-align: center;
    background: #f0fff4;
    border: 1px solid #28a745;
    border-radius: 10px;
}

.sef-success-message h2 {
    color: #28a745;
    margin-bottom: 15px;
}

.sef-success-message p {
    margin: 8px 0;
    color: #555;
    font-size: 16px;
}


/*=====================================
 STEP 6 - COMMUNICATIONS
======================================*/

#step-6 {
    display: none;
    max-width: 900px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

#step-6.active {
    display: block;
}

#step-6 .sef-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

#step-6 .sef-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.7;
}

#step-6 .sef-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}

#step-6 .sef-back,
#step-6 .sef-submit {
    min-width: 180px;
    height: 52px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

#step-6 .sef-back {
    background: #f3f4f6;
    color: #374151;
}

#step-6 .sef-submit {
    background: #16a34a;
    color: #fff;
}

@media(max-width:768px) {
    #step-6 {
        padding: 25px;
    }
    #step-6 .sef-buttons {
        flex-direction: column;
        gap: 15px;
    }
    #step-6 .sef-back,
    #step-6 .sef-submit {
        width: 100%;
    }
}

#primary-contact-fields {
    display: none;
    margin-top: 25px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

#primary-contact-fields .sef-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

#primary-contact-fields .sef-col {
    flex: 1;
}

@media(max-width:768px) {
    #primary-contact-fields .sef-row {
        flex-direction: column;
        gap: 15px;
    }
}

.sef-error {
    border-color: red!important;
}

.sef-error-message {
    display: block;
    color: red;
    font-size: 13px;
    margin-top: 5px;
}