.danfe-content {
    min-width: 0;
}

.danfe-header {
    margin-bottom: 35px;
}

    .danfe-header h1 {
        margin: 0 0 10px;
        font-size: 34px;
        font-weight: 700;
        color: #2f4050;
    }

    .danfe-header p {
        margin: 0;
        max-width: 900px;
        font-size: 16px;
        line-height: 1.6;
        color: #666666;
    }

.cpf-options-card {
    position: relative;
    margin-top: 35px;
    padding: 40px 25px 25px;
    border-top: 3px solid #2f4050;
    background-color: #ffffff;
}

.cpf-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cpf-field-label {
    font-size: 20px;
    font-weight: 400;
    color: #555555;
}

.cpf-result-area {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 25px;
}

.cpf-result-label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #444444;
}

.cpf-result-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.cpf-result-input {
    width: 100%;
    max-width: 500px;
    height: 55px;
    padding: 0 14px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 18px;
    color: #333333;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .cpf-result-input:focus {
        border-color: #2f4050;
    }

    .cpf-result-input::placeholder {
        color: #aaaaaa;
    }

    .cpf-result-input[readonly] {
        background-color: #f8f8f8;
        cursor: default;
    }

.cpf-button-area {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 35px;
}
 


.btn-validar-cnpj {
    padding: 14px 15px;
    border: none;
    border-radius: 5px;
    background-color: #2f4050;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

    .btn-validar-cnpj:hover {
        background-color: var(--brand-primary);
    }

.cpf-resposta-area {
    margin-top: 0;
    padding: 25px 28px 30px;
    border-top: 1px solid #dddddd;
}

.cpf-resposta-label {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 700;
    color: #666666;
}

.cpf-resposta-box {
    width: 100%;
    max-width: 500px;
    min-height: 38px;
    padding: 15px 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    color: #2f4050;
}

.danfe-info {
    padding: 28px;
    margin-bottom: 30px;
    background-color: #ffffff;
    border: 1px solid #2f4050;
    border-radius: 8px;
}

    .danfe-info h2 {
        margin: 0 0 25px;
        font-size: 23px;
        font-weight: 600;
        color: #2f4050;
    }

.danfe-steps {
    display: flex;
    gap: 20px;
}

.danfe-step {
    display: flex;
    flex: 1;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
}

.step-number {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #2f4050;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.step-content {
    min-width: 0;
}

    .step-content h3 {
        margin: 0 0 7px;
        font-size: 16px;
        font-weight: 600;
        color: #2f4050;
    }

    .step-content p {
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
        color: #666666;
    }

@media (max-width: 900px) {
    .danfe-steps {
        flex-direction: column;
        gap: 25px;
    }

    .danfe-step {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .danfe-header h1 {
        font-size: 28px;
    }

    .danfe-header p {
        font-size: 14px;
    }

    .cpf-result-area {
        max-width: 100%;
    }

    .cpf-result-input {
        height: 44px;
        font-size: 15px;
    }

    .btn-gerar-cpf {
        width: 100%;
    }

    .danfe-info {
        padding: 20px;
    }
}
